Documentation ¶
Index ¶
- Constants
- Variables
- func EnsureCRDsExist(config *rest.Config) error
- func RemoveCRDs(config *rest.Config) error
- func WaitCRDsEstablished(config *rest.Config, timeout time.Duration) error
- type ExampleIpClaim
- type ExampleIpClaimList
- type ExampleIpClaimPool
- type ExampleIpClaimPoolList
- type ExampleIpNode
- type ExampleIpNodesList
- type ExtensionsClientset
- type IPClaimPoolsInterface
- type IPClaimsInterface
- type IPNodesClient
- func (c *IPNodesClient) Create(ipnode *IpNode) (result *IpNode, err error)
- func (c *IPNodesClient) Delete(name string, options *metav1.DeleteOptions) error
- func (c *IPNodesClient) Get(name string) (result *IpNode, err error)
- func (c *IPNodesClient) List(opts metav1.ListOptions) (result *IpNodeList, err error)
- func (c *IPNodesClient) Update(ipnode *IpNode) (result *IpNode, err error)
- func (c *IPNodesClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type IPNodesInterface
- type IpClaim
- type IpClaimClient
- func (c *IpClaimClient) Create(ipclaim *IpClaim) (result *IpClaim, err error)
- func (c *IpClaimClient) Delete(name string, options *metav1.DeleteOptions) error
- func (c *IpClaimClient) Get(name string) (result *IpClaim, err error)
- func (c *IpClaimClient) List(opts metav1.ListOptions) (result *IpClaimList, err error)
- func (c *IpClaimClient) Update(ipclaim *IpClaim) (result *IpClaim, err error)
- func (c *IpClaimClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type IpClaimList
- type IpClaimPool
- type IpClaimPoolClient
- func (c *IpClaimPoolClient) Create(ipclaimpool *IpClaimPool) (result *IpClaimPool, err error)
- func (c *IpClaimPoolClient) Delete(name string, options *metav1.DeleteOptions) error
- func (c *IpClaimPoolClient) Get(name string) (result *IpClaimPool, err error)
- func (c *IpClaimPoolClient) List(opts metav1.ListOptions) (result *IpClaimPoolList, err error)
- func (c *IpClaimPoolClient) Update(ipclaimpool *IpClaimPool) (result *IpClaimPool, err error)
- type IpClaimPoolList
- type IpClaimPoolSpec
- type IpClaimSpec
- type IpNode
- type IpNodeList
- type WrappedClientset
Constants ¶
View Source
const ( GroupName string = "ipcontroller.ext" Version string = "v1" )
Variables ¶
View Source
var ( SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) )
Functions ¶
func EnsureCRDsExist ¶
func RemoveCRDs ¶
Types ¶
type ExampleIpClaim ¶
type ExampleIpClaim IpClaim
type ExampleIpClaimList ¶
type ExampleIpClaimList IpClaimList
type ExampleIpClaimPool ¶
type ExampleIpClaimPool IpClaimPool
type ExampleIpClaimPoolList ¶
type ExampleIpClaimPoolList IpClaimPoolList
type ExampleIpNodesList ¶
type ExampleIpNodesList IpNodeList
type ExtensionsClientset ¶
type ExtensionsClientset interface { IPNodes() IPNodesInterface IPClaims() IPClaimsInterface IPClaimPools() IPClaimPoolsInterface }
type IPClaimPoolsInterface ¶
type IPClaimPoolsInterface interface { Create(*IpClaimPool) (*IpClaimPool, error) Get(name string) (*IpClaimPool, error) List(metav1.ListOptions) (*IpClaimPoolList, error) Update(*IpClaimPool) (*IpClaimPool, error) Delete(string, *metav1.DeleteOptions) error }
type IPClaimsInterface ¶
type IPNodesClient ¶
type IPNodesClient struct {
// contains filtered or unexported fields
}
func (*IPNodesClient) Create ¶
func (c *IPNodesClient) Create(ipnode *IpNode) (result *IpNode, err error)
func (*IPNodesClient) Delete ¶
func (c *IPNodesClient) Delete(name string, options *metav1.DeleteOptions) error
func (*IPNodesClient) List ¶
func (c *IPNodesClient) List(opts metav1.ListOptions) (result *IpNodeList, err error)
func (*IPNodesClient) Update ¶
func (c *IPNodesClient) Update(ipnode *IpNode) (result *IpNode, err error)
func (*IPNodesClient) Watch ¶
func (c *IPNodesClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
type IPNodesInterface ¶
type IpClaim ¶
type IpClaim struct { metav1.TypeMeta `json:",inline"` // Standard object metadata Metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IpClaimSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
func (*IpClaim) GetObjectKind ¶
func (e *IpClaim) GetObjectKind() schema.ObjectKind
func (*IpClaim) GetObjectMeta ¶
func (*IpClaim) UnmarshalJSON ¶
type IpClaimClient ¶
type IpClaimClient struct {
// contains filtered or unexported fields
}
func (*IpClaimClient) Create ¶
func (c *IpClaimClient) Create(ipclaim *IpClaim) (result *IpClaim, err error)
func (*IpClaimClient) Delete ¶
func (c *IpClaimClient) Delete(name string, options *metav1.DeleteOptions) error
func (*IpClaimClient) List ¶
func (c *IpClaimClient) List(opts metav1.ListOptions) (result *IpClaimList, err error)
func (*IpClaimClient) Update ¶
func (c *IpClaimClient) Update(ipclaim *IpClaim) (result *IpClaim, err error)
func (*IpClaimClient) Watch ¶
func (c *IpClaimClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
type IpClaimList ¶
type IpClaimList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IpClaim `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*IpClaimList) UnmarshalJSON ¶
func (el *IpClaimList) UnmarshalJSON(data []byte) error
type IpClaimPool ¶
type IpClaimPool struct { metav1.TypeMeta `json:",inline"` // Standard object metadata Metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IpClaimPoolSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
func (*IpClaimPool) AvailableIP ¶
func (p *IpClaimPool) AvailableIP() (availableIP string, err error)
func (*IpClaimPool) GetObjectKind ¶
func (p *IpClaimPool) GetObjectKind() schema.ObjectKind
func (*IpClaimPool) GetObjectMeta ¶
func (p *IpClaimPool) GetObjectMeta() metav1.Object
func (*IpClaimPool) UnmarshalJSON ¶
func (e *IpClaimPool) UnmarshalJSON(data []byte) error
type IpClaimPoolClient ¶
type IpClaimPoolClient struct {
// contains filtered or unexported fields
}
func (*IpClaimPoolClient) Create ¶
func (c *IpClaimPoolClient) Create(ipclaimpool *IpClaimPool) (result *IpClaimPool, err error)
func (*IpClaimPoolClient) Delete ¶
func (c *IpClaimPoolClient) Delete(name string, options *metav1.DeleteOptions) error
func (*IpClaimPoolClient) Get ¶
func (c *IpClaimPoolClient) Get(name string) (result *IpClaimPool, err error)
func (*IpClaimPoolClient) List ¶
func (c *IpClaimPoolClient) List(opts metav1.ListOptions) (result *IpClaimPoolList, err error)
func (*IpClaimPoolClient) Update ¶
func (c *IpClaimPoolClient) Update(ipclaimpool *IpClaimPool) (result *IpClaimPool, err error)
type IpClaimPoolList ¶
type IpClaimPoolList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IpClaimPool `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*IpClaimPoolList) UnmarshalJSON ¶
func (e *IpClaimPoolList) UnmarshalJSON(data []byte) error
type IpClaimPoolSpec ¶
type IpClaimSpec ¶
type IpNode ¶
type IpNode struct { metav1.TypeMeta `json:",inline"` // Standard object metadata Metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // used as a heartbeat Revision int64 `json:",string"` }
func (*IpNode) GetObjectKind ¶
func (e *IpNode) GetObjectKind() schema.ObjectKind
func (*IpNode) GetObjectMeta ¶
func (*IpNode) UnmarshalJSON ¶
type IpNodeList ¶
type IpNodeList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IpNode `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*IpNodeList) UnmarshalJSON ¶
func (el *IpNodeList) UnmarshalJSON(data []byte) error
type WrappedClientset ¶
type WrappedClientset struct {
Client *rest.RESTClient
}
func WrapClientsetWithExtensions ¶
func WrapClientsetWithExtensions(clientset *kubernetes.Clientset, config *rest.Config) (*WrappedClientset, error)
func (*WrappedClientset) IPClaimPools ¶
func (w *WrappedClientset) IPClaimPools() IPClaimPoolsInterface
func (*WrappedClientset) IPClaims ¶
func (w *WrappedClientset) IPClaims() IPClaimsInterface
func (*WrappedClientset) IPNodes ¶
func (w *WrappedClientset) IPNodes() IPNodesInterface
Click to show internal directories.
Click to hide internal directories.