Documentation
¶
Overview ¶
+kubebuilder:validation:Optional +kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶ added in v2.6.0
type Entity struct {
// Unique identifier of the entity.
UID string `json:"uid,omitempty" validate:"required"` // @gotags: validate:"required"
// IP address of the entity.
IPAddress string `json:"ip_address,omitempty" validate:"required,ip"` // @gotags: validate:"required,ip"
// Name of the entity. For example, pod name.
Name string `json:"name,omitempty"`
// Namespace of the entity. For example, pod namespace.
Namespace string `json:"namespace,omitempty"`
// Node name of the entity. For example, hostname.
NodeName string ` json:"node_name,omitempty"`
// Services of the entity.
Services []string `json:"services,omitempty" validate:"gt=0"` // @gotags: validate:"gt=0"
}
Entity represents a pod, VM, and so on.
func (*Entity) DeepCopy ¶ added in v2.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entity.
func (*Entity) DeepCopyInto ¶ added in v2.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StaticDiscoveryConfig ¶
type StaticDiscoveryConfig struct {
Entities []Entity `json:"entities,omitempty"`
}
StaticDiscoveryConfig for pre-determined list of services. swagger:model
func (*StaticDiscoveryConfig) DeepCopy ¶
func (in *StaticDiscoveryConfig) DeepCopy() *StaticDiscoveryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticDiscoveryConfig.
func (*StaticDiscoveryConfig) DeepCopyInto ¶
func (in *StaticDiscoveryConfig) DeepCopyInto(out *StaticDiscoveryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.