Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdminV1
- func (c *FakeAdminV1) Certificates() v1.CertificateInterface
- func (c *FakeAdminV1) ClusterDomains() v1.ClusterDomainInterface
- func (c *FakeAdminV1) PublicDomains() v1.PublicDomainInterface
- func (c *FakeAdminV1) RESTClient() rest.Interface
- func (c *FakeAdminV1) RioInfos() v1.RioInfoInterface
- func (c *FakeAdminV1) SystemStacks() v1.SystemStackInterface
- type FakeCertificates
- func (c *FakeCertificates) Create(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)
- func (c *FakeCertificates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.Certificate, err error)
- func (c *FakeCertificates) List(opts v1.ListOptions) (result *adminriocattleiov1.CertificateList, err error)
- func (c *FakeCertificates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.Certificate, err error)
- func (c *FakeCertificates) Update(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)
- func (c *FakeCertificates) UpdateStatus(certificate *adminriocattleiov1.Certificate) (*adminriocattleiov1.Certificate, error)
- func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterDomains
- func (c *FakeClusterDomains) Create(clusterDomain *adminriocattleiov1.ClusterDomain) (result *adminriocattleiov1.ClusterDomain, err error)
- func (c *FakeClusterDomains) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.ClusterDomain, err error)
- func (c *FakeClusterDomains) List(opts v1.ListOptions) (result *adminriocattleiov1.ClusterDomainList, err error)
- func (c *FakeClusterDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.ClusterDomain, err error)
- func (c *FakeClusterDomains) Update(clusterDomain *adminriocattleiov1.ClusterDomain) (result *adminriocattleiov1.ClusterDomain, err error)
- func (c *FakeClusterDomains) UpdateStatus(clusterDomain *adminriocattleiov1.ClusterDomain) (*adminriocattleiov1.ClusterDomain, error)
- func (c *FakeClusterDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePublicDomains
- func (c *FakePublicDomains) Create(publicDomain *adminriocattleiov1.PublicDomain) (result *adminriocattleiov1.PublicDomain, err error)
- func (c *FakePublicDomains) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePublicDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePublicDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.PublicDomain, err error)
- func (c *FakePublicDomains) List(opts v1.ListOptions) (result *adminriocattleiov1.PublicDomainList, err error)
- func (c *FakePublicDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.PublicDomain, err error)
- func (c *FakePublicDomains) Update(publicDomain *adminriocattleiov1.PublicDomain) (result *adminriocattleiov1.PublicDomain, err error)
- func (c *FakePublicDomains) UpdateStatus(publicDomain *adminriocattleiov1.PublicDomain) (*adminriocattleiov1.PublicDomain, error)
- func (c *FakePublicDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRioInfos
- func (c *FakeRioInfos) Create(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)
- func (c *FakeRioInfos) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRioInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRioInfos) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.RioInfo, err error)
- func (c *FakeRioInfos) List(opts v1.ListOptions) (result *adminriocattleiov1.RioInfoList, err error)
- func (c *FakeRioInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.RioInfo, err error)
- func (c *FakeRioInfos) Update(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)
- func (c *FakeRioInfos) UpdateStatus(rioInfo *adminriocattleiov1.RioInfo) (*adminriocattleiov1.RioInfo, error)
- func (c *FakeRioInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSystemStacks
- func (c *FakeSystemStacks) Create(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)
- func (c *FakeSystemStacks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSystemStacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSystemStacks) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.SystemStack, err error)
- func (c *FakeSystemStacks) List(opts v1.ListOptions) (result *adminriocattleiov1.SystemStackList, err error)
- func (c *FakeSystemStacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.SystemStack, err error)
- func (c *FakeSystemStacks) Update(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)
- func (c *FakeSystemStacks) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdminV1 ¶
func (*FakeAdminV1) Certificates ¶ added in v0.8.0
func (c *FakeAdminV1) Certificates() v1.CertificateInterface
func (*FakeAdminV1) ClusterDomains ¶
func (c *FakeAdminV1) ClusterDomains() v1.ClusterDomainInterface
func (*FakeAdminV1) PublicDomains ¶
func (c *FakeAdminV1) PublicDomains() v1.PublicDomainInterface
func (*FakeAdminV1) RESTClient ¶
func (c *FakeAdminV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAdminV1) RioInfos ¶
func (c *FakeAdminV1) RioInfos() v1.RioInfoInterface
func (*FakeAdminV1) SystemStacks ¶ added in v0.6.0
func (c *FakeAdminV1) SystemStacks() v1.SystemStackInterface
type FakeCertificates ¶ added in v0.8.0
type FakeCertificates struct {
Fake *FakeAdminV1
}
FakeCertificates implements CertificateInterface
func (*FakeCertificates) Create ¶ added in v0.8.0
func (c *FakeCertificates) Create(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)
Create takes the representation of a certificate and creates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) Delete ¶ added in v0.8.0
func (c *FakeCertificates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the certificate and deletes it. Returns an error if one occurs.
func (*FakeCertificates) DeleteCollection ¶ added in v0.8.0
func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCertificates) Get ¶ added in v0.8.0
func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.Certificate, err error)
Get takes name of the certificate, and returns the corresponding certificate object, and an error if there is any.
func (*FakeCertificates) List ¶ added in v0.8.0
func (c *FakeCertificates) List(opts v1.ListOptions) (result *adminriocattleiov1.CertificateList, err error)
List takes label and field selectors, and returns the list of Certificates that match those selectors.
func (*FakeCertificates) Patch ¶ added in v0.8.0
func (c *FakeCertificates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.Certificate, err error)
Patch applies the patch and returns the patched certificate.
func (*FakeCertificates) Update ¶ added in v0.8.0
func (c *FakeCertificates) Update(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)
Update takes the representation of a certificate and updates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) UpdateStatus ¶ added in v0.8.0
func (c *FakeCertificates) UpdateStatus(certificate *adminriocattleiov1.Certificate) (*adminriocattleiov1.Certificate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCertificates) Watch ¶ added in v0.8.0
func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested certificates.
type FakeClusterDomains ¶
type FakeClusterDomains struct {
Fake *FakeAdminV1
}
FakeClusterDomains implements ClusterDomainInterface
func (*FakeClusterDomains) Create ¶
func (c *FakeClusterDomains) Create(clusterDomain *adminriocattleiov1.ClusterDomain) (result *adminriocattleiov1.ClusterDomain, err error)
Create takes the representation of a clusterDomain and creates it. Returns the server's representation of the clusterDomain, and an error, if there is any.
func (*FakeClusterDomains) Delete ¶
func (c *FakeClusterDomains) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterDomain and deletes it. Returns an error if one occurs.
func (*FakeClusterDomains) DeleteCollection ¶
func (c *FakeClusterDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterDomains) Get ¶
func (c *FakeClusterDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.ClusterDomain, err error)
Get takes name of the clusterDomain, and returns the corresponding clusterDomain object, and an error if there is any.
func (*FakeClusterDomains) List ¶
func (c *FakeClusterDomains) List(opts v1.ListOptions) (result *adminriocattleiov1.ClusterDomainList, err error)
List takes label and field selectors, and returns the list of ClusterDomains that match those selectors.
func (*FakeClusterDomains) Patch ¶
func (c *FakeClusterDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.ClusterDomain, err error)
Patch applies the patch and returns the patched clusterDomain.
func (*FakeClusterDomains) Update ¶
func (c *FakeClusterDomains) Update(clusterDomain *adminriocattleiov1.ClusterDomain) (result *adminriocattleiov1.ClusterDomain, err error)
Update takes the representation of a clusterDomain and updates it. Returns the server's representation of the clusterDomain, and an error, if there is any.
func (*FakeClusterDomains) UpdateStatus ¶
func (c *FakeClusterDomains) UpdateStatus(clusterDomain *adminriocattleiov1.ClusterDomain) (*adminriocattleiov1.ClusterDomain, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterDomains) Watch ¶
func (c *FakeClusterDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterDomains.
type FakePublicDomains ¶
type FakePublicDomains struct {
Fake *FakeAdminV1
}
FakePublicDomains implements PublicDomainInterface
func (*FakePublicDomains) Create ¶
func (c *FakePublicDomains) Create(publicDomain *adminriocattleiov1.PublicDomain) (result *adminriocattleiov1.PublicDomain, err error)
Create takes the representation of a publicDomain and creates it. Returns the server's representation of the publicDomain, and an error, if there is any.
func (*FakePublicDomains) Delete ¶
func (c *FakePublicDomains) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the publicDomain and deletes it. Returns an error if one occurs.
func (*FakePublicDomains) DeleteCollection ¶
func (c *FakePublicDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePublicDomains) Get ¶
func (c *FakePublicDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.PublicDomain, err error)
Get takes name of the publicDomain, and returns the corresponding publicDomain object, and an error if there is any.
func (*FakePublicDomains) List ¶
func (c *FakePublicDomains) List(opts v1.ListOptions) (result *adminriocattleiov1.PublicDomainList, err error)
List takes label and field selectors, and returns the list of PublicDomains that match those selectors.
func (*FakePublicDomains) Patch ¶
func (c *FakePublicDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.PublicDomain, err error)
Patch applies the patch and returns the patched publicDomain.
func (*FakePublicDomains) Update ¶
func (c *FakePublicDomains) Update(publicDomain *adminriocattleiov1.PublicDomain) (result *adminriocattleiov1.PublicDomain, err error)
Update takes the representation of a publicDomain and updates it. Returns the server's representation of the publicDomain, and an error, if there is any.
func (*FakePublicDomains) UpdateStatus ¶
func (c *FakePublicDomains) UpdateStatus(publicDomain *adminriocattleiov1.PublicDomain) (*adminriocattleiov1.PublicDomain, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePublicDomains) Watch ¶
func (c *FakePublicDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested publicDomains.
type FakeRioInfos ¶
type FakeRioInfos struct {
Fake *FakeAdminV1
}
FakeRioInfos implements RioInfoInterface
func (*FakeRioInfos) Create ¶
func (c *FakeRioInfos) Create(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)
Create takes the representation of a rioInfo and creates it. Returns the server's representation of the rioInfo, and an error, if there is any.
func (*FakeRioInfos) Delete ¶
func (c *FakeRioInfos) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the rioInfo and deletes it. Returns an error if one occurs.
func (*FakeRioInfos) DeleteCollection ¶
func (c *FakeRioInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRioInfos) Get ¶
func (c *FakeRioInfos) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.RioInfo, err error)
Get takes name of the rioInfo, and returns the corresponding rioInfo object, and an error if there is any.
func (*FakeRioInfos) List ¶
func (c *FakeRioInfos) List(opts v1.ListOptions) (result *adminriocattleiov1.RioInfoList, err error)
List takes label and field selectors, and returns the list of RioInfos that match those selectors.
func (*FakeRioInfos) Patch ¶
func (c *FakeRioInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.RioInfo, err error)
Patch applies the patch and returns the patched rioInfo.
func (*FakeRioInfos) Update ¶
func (c *FakeRioInfos) Update(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)
Update takes the representation of a rioInfo and updates it. Returns the server's representation of the rioInfo, and an error, if there is any.
func (*FakeRioInfos) UpdateStatus ¶
func (c *FakeRioInfos) UpdateStatus(rioInfo *adminriocattleiov1.RioInfo) (*adminriocattleiov1.RioInfo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRioInfos) Watch ¶
func (c *FakeRioInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rioInfos.
type FakeSystemStacks ¶ added in v0.6.0
type FakeSystemStacks struct {
Fake *FakeAdminV1
}
FakeSystemStacks implements SystemStackInterface
func (*FakeSystemStacks) Create ¶ added in v0.6.0
func (c *FakeSystemStacks) Create(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)
Create takes the representation of a systemStack and creates it. Returns the server's representation of the systemStack, and an error, if there is any.
func (*FakeSystemStacks) Delete ¶ added in v0.6.0
func (c *FakeSystemStacks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the systemStack and deletes it. Returns an error if one occurs.
func (*FakeSystemStacks) DeleteCollection ¶ added in v0.6.0
func (c *FakeSystemStacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSystemStacks) Get ¶ added in v0.6.0
func (c *FakeSystemStacks) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.SystemStack, err error)
Get takes name of the systemStack, and returns the corresponding systemStack object, and an error if there is any.
func (*FakeSystemStacks) List ¶ added in v0.6.0
func (c *FakeSystemStacks) List(opts v1.ListOptions) (result *adminriocattleiov1.SystemStackList, err error)
List takes label and field selectors, and returns the list of SystemStacks that match those selectors.
func (*FakeSystemStacks) Patch ¶ added in v0.6.0
func (c *FakeSystemStacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.SystemStack, err error)
Patch applies the patch and returns the patched systemStack.
func (*FakeSystemStacks) Update ¶ added in v0.6.0
func (c *FakeSystemStacks) Update(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)
Update takes the representation of a systemStack and updates it. Returns the server's representation of the systemStack, and an error, if there is any.
func (*FakeSystemStacks) Watch ¶ added in v0.6.0
func (c *FakeSystemStacks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested systemStacks.