Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataResponse ¶ added in v1.6.0
type NMIResponse ¶
type NMIResponse struct { Token msiResponse `json:"token"` ClientID string `json:"clientid"` }
NMIResponse is the response returned to caller
type Server ¶
type Server struct { KubeClient k8s.Client NMIPort string MetadataIP string MetadataPort string HostIP string NodeName string IPTableUpdateTimeIntervalInSeconds int MICNamespace string Initialized bool BlockInstanceMetadata bool MetadataHeaderRequired bool // TokenClient is client that fetches identities and tokens TokenClient nmi.TokenClient Reporter *metrics.Reporter }
Server encapsulates all of the parameters necessary for starting up the server. These can be set via command line.
Click to show internal directories.
Click to hide internal directories.