Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValidatorClient ¶ added in v1.4.50
func GetValidatorClient(os string) validatorClient
Func to get the type of validator client based on the Operating system.
Types ¶
type CNSLocalCache ¶
type CNSLocalCache struct {
IPConfigurationStatus []cns.IPConfigurationStatus `json:"IPConfigurationStatus"`
}
type CiliumEndpointStatus ¶
type CiliumEndpointStatus struct {
Status NetworkingStatus `json:"status"`
}
type CnsState ¶ added in v1.4.50
type CnsState struct {
Endpoints map[string]restserver.EndpointInfo `json:"Endpoints"`
}
type IValidator ¶ added in v1.4.50
Todo: Add the validation for the data path function for the linux/windows client.
type LinuxClient ¶ added in v1.4.50
type LinuxClient struct{}
func (*LinuxClient) CreateClient ¶ added in v1.4.50
func (l *LinuxClient) CreateClient(ctx context.Context, clienset *kubernetes.Clientset, config *rest.Config, namespace, cni string, restartCase bool) IValidator
type LinuxValidator ¶ added in v1.4.50
type LinuxValidator struct {
Validator
}
func (*LinuxValidator) ValidateRestartNetwork ¶ added in v1.4.50
func (v *LinuxValidator) ValidateRestartNetwork() error
func (*LinuxValidator) ValidateStateFile ¶ added in v1.4.50
func (v *LinuxValidator) ValidateStateFile() error
Todo: Based on cni version validate different state files
type NetworkingAddressing ¶
type NetworkingStatus ¶
type NetworkingStatus struct {
Networking NetworkingAddressing `json:"networking"`
}
Click to show internal directories.
Click to hide internal directories.