Documentation ¶
Index ¶
- Constants
- func NewRESTClient(cfg *rest.Config) (rest.Interface, error)
- func RegisterCRD(clientset extClient.Interface) error
- type IPAMClient
- func (ipamCli *IPAMClient) Create(obj *v1.IPAM) (*v1.IPAM, error)
- func (ipamCli *IPAMClient) Delete(namespace, name string, options metaV1.DeleteOptions) error
- func (ipamCli *IPAMClient) Get(namespace, name string) (*v1.IPAM, error)
- func (ipamCli *IPAMClient) List(namespace string) ([]v1.IPAM, error)
- func (ipamCli *IPAMClient) Patch(obj *v1.IPAM) (*v1.IPAM, error)
- func (ipamCli *IPAMClient) Start()
- func (ipamCli *IPAMClient) Stop()
- func (ipamCli *IPAMClient) Update(obj *v1.IPAM) (res *v1.IPAM, err error)
- func (ipamCli *IPAMClient) UpdateStatus(obj *v1.IPAM) (res *v1.IPAM, err error)
- type IPAMInformer
- type Params
Constants ¶
View Source
const ( // IPAM is a F5 Custom Resource Kind. F5ipam = "IPAM" F5IPAMCtlr = "F5 IPAM Controller" CRDPlural string = "ipams" CRDGroup string = "fic.f5.com" CRDVersion string = "v1" FullCRDName string = CRDPlural + "." + CRDGroup HostnamePattern string = "^(([a-zA-Z0-9\\*]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$" IPAddressPattern string = "" /* 768-byte string literal not displayed */ )
View Source
const MAX_RETRIES = 10
Variables ¶
This section is empty.
Functions ¶
func RegisterCRD ¶
RegisterCRD creates schema of IPAM and registers it with Kubernetes/Openshift
Types ¶
type IPAMClient ¶
type IPAMClient struct {
// contains filtered or unexported fields
}
CRManager defines the structure of Custom Resource Manager
func NewFakeIPAMClient ¶ added in v0.1.5
func NewFakeIPAMClient( kubeCRClient versioned.Interface, kubeClient kubernetes.Interface, restClient rest.Interface, ) *IPAMClient
func NewIPAMClient ¶
func NewIPAMClient(params Params) *IPAMClient
NewIPAM creates a new IPAMClient Instance.
func (*IPAMClient) Delete ¶
func (ipamCli *IPAMClient) Delete(namespace, name string, options metaV1.DeleteOptions) error
func (*IPAMClient) List ¶ added in v0.1.3
func (ipamCli *IPAMClient) List(namespace string) ([]v1.IPAM, error)
func (*IPAMClient) Stop ¶
func (ipamCli *IPAMClient) Stop()
func (*IPAMClient) UpdateStatus ¶
type IPAMInformer ¶
type IPAMInformer struct {
// contains filtered or unexported fields
}
CRInformer defines the structure of Custom Resource Informer
Click to show internal directories.
Click to hide internal directories.