Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstanceGroups
- func (c *FakeInstanceGroups) Create(instanceGroup *v1alpha1.InstanceGroup) (result *v1alpha1.InstanceGroup, err error)
- func (c *FakeInstanceGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstanceGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstanceGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.InstanceGroup, err error)
- func (c *FakeInstanceGroups) List(opts v1.ListOptions) (result *v1alpha1.InstanceGroupList, err error)
- func (c *FakeInstanceGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InstanceGroup, err error)
- func (c *FakeInstanceGroups) Update(instanceGroup *v1alpha1.InstanceGroup) (result *v1alpha1.InstanceGroup, err error)
- func (c *FakeInstanceGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKopsV1alpha1
- func (c *FakeKopsV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeKopsV1alpha1) InstanceGroups(namespace string) v1alpha1.InstanceGroupInterface
- func (c *FakeKopsV1alpha1) RESTClient() rest.Interface
- func (c *FakeKopsV1alpha1) SSHCredentials(namespace string) v1alpha1.SSHCredentialInterface
- type FakeSSHCredentials
- func (c *FakeSSHCredentials) Create(sSHCredential *v1alpha1.SSHCredential) (result *v1alpha1.SSHCredential, err error)
- func (c *FakeSSHCredentials) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSSHCredentials) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSSHCredentials) Get(name string, options v1.GetOptions) (result *v1alpha1.SSHCredential, err error)
- func (c *FakeSSHCredentials) List(opts v1.ListOptions) (result *v1alpha1.SSHCredentialList, err error)
- func (c *FakeSSHCredentials) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SSHCredential, err error)
- func (c *FakeSSHCredentials) Update(sSHCredential *v1alpha1.SSHCredential) (result *v1alpha1.SSHCredential, err error)
- func (c *FakeSSHCredentials) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusters ¶
type FakeClusters struct { Fake *FakeKopsV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeInstanceGroups ¶
type FakeInstanceGroups struct { Fake *FakeKopsV1alpha1 // contains filtered or unexported fields }
FakeInstanceGroups implements InstanceGroupInterface
func (*FakeInstanceGroups) Create ¶
func (c *FakeInstanceGroups) Create(instanceGroup *v1alpha1.InstanceGroup) (result *v1alpha1.InstanceGroup, err error)
Create takes the representation of a instanceGroup and creates it. Returns the server's representation of the instanceGroup, and an error, if there is any.
func (*FakeInstanceGroups) Delete ¶
func (c *FakeInstanceGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the instanceGroup and deletes it. Returns an error if one occurs.
func (*FakeInstanceGroups) DeleteCollection ¶
func (c *FakeInstanceGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstanceGroups) Get ¶
func (c *FakeInstanceGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.InstanceGroup, err error)
Get takes name of the instanceGroup, and returns the corresponding instanceGroup object, and an error if there is any.
func (*FakeInstanceGroups) List ¶
func (c *FakeInstanceGroups) List(opts v1.ListOptions) (result *v1alpha1.InstanceGroupList, err error)
List takes label and field selectors, and returns the list of InstanceGroups that match those selectors.
func (*FakeInstanceGroups) Patch ¶
func (c *FakeInstanceGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InstanceGroup, err error)
Patch applies the patch and returns the patched instanceGroup.
func (*FakeInstanceGroups) Update ¶
func (c *FakeInstanceGroups) Update(instanceGroup *v1alpha1.InstanceGroup) (result *v1alpha1.InstanceGroup, err error)
Update takes the representation of a instanceGroup and updates it. Returns the server's representation of the instanceGroup, and an error, if there is any.
func (*FakeInstanceGroups) Watch ¶
func (c *FakeInstanceGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instanceGroups.
type FakeKopsV1alpha1 ¶
func (*FakeKopsV1alpha1) Clusters ¶
func (c *FakeKopsV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeKopsV1alpha1) InstanceGroups ¶
func (c *FakeKopsV1alpha1) InstanceGroups(namespace string) v1alpha1.InstanceGroupInterface
func (*FakeKopsV1alpha1) RESTClient ¶
func (c *FakeKopsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKopsV1alpha1) SSHCredentials ¶
func (c *FakeKopsV1alpha1) SSHCredentials(namespace string) v1alpha1.SSHCredentialInterface
type FakeSSHCredentials ¶
type FakeSSHCredentials struct { Fake *FakeKopsV1alpha1 // contains filtered or unexported fields }
FakeSSHCredentials implements SSHCredentialInterface
func (*FakeSSHCredentials) Create ¶
func (c *FakeSSHCredentials) Create(sSHCredential *v1alpha1.SSHCredential) (result *v1alpha1.SSHCredential, err error)
Create takes the representation of a sSHCredential and creates it. Returns the server's representation of the sSHCredential, and an error, if there is any.
func (*FakeSSHCredentials) Delete ¶
func (c *FakeSSHCredentials) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the sSHCredential and deletes it. Returns an error if one occurs.
func (*FakeSSHCredentials) DeleteCollection ¶
func (c *FakeSSHCredentials) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSSHCredentials) Get ¶
func (c *FakeSSHCredentials) Get(name string, options v1.GetOptions) (result *v1alpha1.SSHCredential, err error)
Get takes name of the sSHCredential, and returns the corresponding sSHCredential object, and an error if there is any.
func (*FakeSSHCredentials) List ¶
func (c *FakeSSHCredentials) List(opts v1.ListOptions) (result *v1alpha1.SSHCredentialList, err error)
List takes label and field selectors, and returns the list of SSHCredentials that match those selectors.
func (*FakeSSHCredentials) Patch ¶
func (c *FakeSSHCredentials) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SSHCredential, err error)
Patch applies the patch and returns the patched sSHCredential.
func (*FakeSSHCredentials) Update ¶
func (c *FakeSSHCredentials) Update(sSHCredential *v1alpha1.SSHCredential) (result *v1alpha1.SSHCredential, err error)
Update takes the representation of a sSHCredential and updates it. Returns the server's representation of the sSHCredential, and an error, if there is any.
func (*FakeSSHCredentials) Watch ¶
func (c *FakeSSHCredentials) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sSHCredentials.