Documentation
¶
Index ¶
- func GetValidatorClient(os string) validatorClient
- type Address
- type AddressPool
- type AddressRecord
- type AddressSpace
- type AddressSpaces
- type AzureVnet
- type AzureVnetIpam
- type CNSLocalCache
- type CiliumEndpointStatus
- type CnsState
- type Endpoint
- type ExternalInterface
- type HNSEndpoint
- type IValidator
- type LinuxClient
- type LinuxValidator
- type Network
- type NetworkInfo
- type NetworkingAddressing
- type NetworkingStatus
- type Validator
- type WindowsClient
- type WindowsValidator
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 AddressPool ¶
type AddressPool struct {
Addresses map[string]AddressRecord `json:"Addresses"`
}
type AddressRecord ¶
type AddressSpace ¶
type AddressSpace struct {
Pools map[string]AddressPool `json:"Pools"`
}
type AddressSpaces ¶
type AddressSpaces struct {
AddrSpaces map[string]AddressSpace `json:"AddressSpaces"`
}
type AzureVnet ¶
type AzureVnet struct {
NetworkInfo NetworkInfo `json:"Network"`
}
type AzureVnetIpam ¶
type AzureVnetIpam struct {
IPAM AddressSpaces `json:"IPAM"`
}
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 ExternalInterface ¶
type HNSEndpoint ¶
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 NetworkInfo ¶
type NetworkInfo struct {
ExternalInterfaces map[string]ExternalInterface `json:"ExternalInterfaces"`
}
type NetworkingAddressing ¶
type NetworkingStatus ¶
type NetworkingStatus struct {
Networking NetworkingAddressing `json:"networking"`
}
type WindowsClient ¶ added in v1.4.50
type WindowsClient struct{}
func (*WindowsClient) CreateClient ¶ added in v1.4.50
func (w *WindowsClient) CreateClient(ctx context.Context, clienset *kubernetes.Clientset, config *rest.Config, namespace, cni string, restartCase bool) IValidator
type WindowsValidator ¶ added in v1.4.50
type WindowsValidator struct {
Validator
}
func (*WindowsValidator) ValidateRestartNetwork ¶ added in v1.4.50
func (v *WindowsValidator) ValidateRestartNetwork() error
func (*WindowsValidator) ValidateStateFile ¶ added in v1.4.50
func (v *WindowsValidator) ValidateStateFile() error
Click to show internal directories.
Click to hide internal directories.