Documentation ¶
Index ¶
- Constants
- Variables
- func NewRESTClient(cfg *rest.Config) (rest.Interface, error)
- func RegisterCRD(clientset extClient.Interface) error
- type IPAMClient
- func (ipamCli *IPAMClient) Create(obj *v1.F5IPAM) (*v1.F5IPAM, error)
- func (ipamCli *IPAMClient) Delete(namespace, name string, options metaV1.DeleteOptions) error
- func (ipamCli *IPAMClient) Get(namespace, name string) (*v1.F5IPAM, error)
- func (ipamCli *IPAMClient) List(namespace string) ([]v1.F5IPAM, error)
- func (ipamCli *IPAMClient) Patch(obj *v1.F5IPAM) (*v1.F5IPAM, error)
- func (ipamCli *IPAMClient) Start()
- func (ipamCli *IPAMClient) Stop()
- func (ipamCli *IPAMClient) Update(obj *v1.F5IPAM) (res *v1.F5IPAM, err error)
- func (ipamCli *IPAMClient) UpdateStatus(obj *v1.F5IPAM) (res *v1.F5IPAM, err error)
- type IPAMInformer
- type Params
Constants ¶
View Source
const ( // F5IPAM is a F5 Custom Resource Kind. F5ipam = "F5IPAM" F5IPAMCtlr = "F5 IPAM Controller" CRDPlural string = "f5ipams" 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 = "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" )
View Source
const MAX_RETRIES = 10
Variables ¶
View Source
var CRDVersions = []apiextensionv1beta1.CustomResourceDefinitionVersion{{Name: CRDVersion, Served: true, Storage: true}}
Functions ¶
func RegisterCRD ¶
RegisterCRD creates schema of F5IPAM 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 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.F5IPAM, 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.