WithInstanceIdentityAgentName sets the agent name selector sent with the instance-identity authentication request.
(name string)
| 521 | // WithInstanceIdentityAgentName sets the agent name selector sent with |
| 522 | // the instance-identity authentication request. |
| 523 | func WithInstanceIdentityAgentName(name string) InstanceIdentityOption { |
| 524 | return func(c *InstanceIdentityConfig) { |
| 525 | c.AgentName = name |
| 526 | } |
| 527 | } |
| 528 | |
| 529 | // applyInstanceIdentityOptions applies the given options and returns |
| 530 | // the resulting configuration. |
no outgoing calls