Documentation ¶
Index ¶
- Constants
- func GetClient(kubeconfig *rest.Config) (*rest.RESTClient, error)
- type ErrorCode
- type ErrorResponse
- type ErrorResponseNetdef
- type GetChallengeRequest
- type GetChallengeResponse
- type GetPoolListResponse
- type NetworkData
- type NetworkReconciler
- type PoolRequest
- type PoolSignature
- type SignChallengeRequest
- type SignChallengeResponse
Constants ¶
View Source
const ( // PausedAnnotation is the annotation that pauses the reconciliation PausedAnnotation string = "netpool.network.kanod.io/paused" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
type ErrorResponseNetdef ¶
type GetChallengeRequest ¶
type GetChallengeRequest struct {
Poolname string `json:"poolname"`
}
type GetChallengeResponse ¶
type GetChallengeResponse struct {
Challenge string `json:"challenge"`
}
type GetPoolListResponse ¶
type GetPoolListResponse struct {
Poollist []string `json:"poollist"`
}
type NetworkData ¶
type NetworkData struct {
NetDefPool map[string]PoolSignature
}
var ( NETWORKDATA NetworkData = NetworkData{ NetDefPool: make(map[string]PoolSignature), } Mutex sync.Mutex )
type NetworkReconciler ¶
NetworkReconciler reconciles a Network object
func (*NetworkReconciler) SetupWithManager ¶
func (r *NetworkReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PoolRequest ¶
type PoolSignature ¶
type SignChallengeRequest ¶
type SignChallengeRequest struct {
Challenge string `json:"challenge"`
}
type SignChallengeResponse ¶
Click to show internal directories.
Click to hide internal directories.