Documentation ¶
Overview ¶
Package agent GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
View Source
const ENDPOINT_ROLE = "agent-registry"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessTokenOptionFunc ¶
type AccessTokenOptionFunc = func(o *accessTokenOptions)
func AsRegistryEndpoint ¶
func AsRegistryEndpoint(b bool) AccessTokenOptionFunc
func ExpiresIn ¶
func ExpiresIn(d time.Duration) AccessTokenOptionFunc
type Agent ¶
type Agent struct { Name string `json:"name"` Endpoint string `json:"endpoint"` Token string `json:"token,omitempty"` OtpKeyURL string `json:"otpKeyURL,omitempty"` Time datatypes.Datetime `json:"time,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
func FromContext ¶
func (*Agent) AuthRoundTripper ¶
func (a *Agent) AuthRoundTripper() client.HttpTransport
Source Files ¶
Click to show internal directories.
Click to hide internal directories.