Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAzureEndpoints
- func (c *FakeAzureEndpoints) Create(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, ...) (result *v1alpha1.AzureEndpoint, err error)
- func (c *FakeAzureEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAzureEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAzureEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AzureEndpoint, err error)
- func (c *FakeAzureEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AzureEndpointList, err error)
- func (c *FakeAzureEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AzureEndpoint, err error)
- func (c *FakeAzureEndpoints) Update(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, ...) (result *v1alpha1.AzureEndpoint, err error)
- func (c *FakeAzureEndpoints) UpdateStatus(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, ...) (*v1alpha1.AzureEndpoint, error)
- func (c *FakeAzureEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEndpoints
- func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.CreateOptions) (result *v1alpha1.Endpoint, err error)
- func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Endpoint, err error)
- func (c *FakeEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EndpointList, err error)
- func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Endpoint, err error)
- func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (result *v1alpha1.Endpoint, err error)
- func (c *FakeEndpoints) UpdateStatus(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, error)
- func (c *FakeEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalEndpoints
- func (c *FakeExternalEndpoints) Create(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalEndpointList, err error)
- func (c *FakeExternalEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) Update(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) UpdateStatus(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (*v1alpha1.ExternalEndpoint, error)
- func (c *FakeExternalEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNestedEndpoints
- func (c *FakeNestedEndpoints) Create(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, ...) (result *v1alpha1.NestedEndpoint, err error)
- func (c *FakeNestedEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNestedEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNestedEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NestedEndpoint, err error)
- func (c *FakeNestedEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NestedEndpointList, err error)
- func (c *FakeNestedEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NestedEndpoint, err error)
- func (c *FakeNestedEndpoints) Update(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, ...) (result *v1alpha1.NestedEndpoint, err error)
- func (c *FakeNestedEndpoints) UpdateStatus(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, ...) (*v1alpha1.NestedEndpoint, error)
- func (c *FakeNestedEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProfiles
- func (c *FakeProfiles) Create(ctx context.Context, profile *v1alpha1.Profile, opts v1.CreateOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProfileList, err error)
- func (c *FakeProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Update(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) UpdateStatus(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (*v1alpha1.Profile, error)
- func (c *FakeProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTrafficmanagerV1alpha1
- func (c *FakeTrafficmanagerV1alpha1) AzureEndpoints(namespace string) v1alpha1.AzureEndpointInterface
- func (c *FakeTrafficmanagerV1alpha1) Endpoints(namespace string) v1alpha1.EndpointInterface
- func (c *FakeTrafficmanagerV1alpha1) ExternalEndpoints(namespace string) v1alpha1.ExternalEndpointInterface
- func (c *FakeTrafficmanagerV1alpha1) NestedEndpoints(namespace string) v1alpha1.NestedEndpointInterface
- func (c *FakeTrafficmanagerV1alpha1) Profiles(namespace string) v1alpha1.ProfileInterface
- func (c *FakeTrafficmanagerV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAzureEndpoints ¶ added in v0.5.0
type FakeAzureEndpoints struct { Fake *FakeTrafficmanagerV1alpha1 // contains filtered or unexported fields }
FakeAzureEndpoints implements AzureEndpointInterface
func (*FakeAzureEndpoints) Create ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Create(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, opts v1.CreateOptions) (result *v1alpha1.AzureEndpoint, err error)
Create takes the representation of a azureEndpoint and creates it. Returns the server's representation of the azureEndpoint, and an error, if there is any.
func (*FakeAzureEndpoints) Delete ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the azureEndpoint and deletes it. Returns an error if one occurs.
func (*FakeAzureEndpoints) DeleteCollection ¶ added in v0.5.0
func (c *FakeAzureEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAzureEndpoints) Get ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AzureEndpoint, err error)
Get takes name of the azureEndpoint, and returns the corresponding azureEndpoint object, and an error if there is any.
func (*FakeAzureEndpoints) List ¶ added in v0.5.0
func (c *FakeAzureEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AzureEndpointList, err error)
List takes label and field selectors, and returns the list of AzureEndpoints that match those selectors.
func (*FakeAzureEndpoints) Patch ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AzureEndpoint, err error)
Patch applies the patch and returns the patched azureEndpoint.
func (*FakeAzureEndpoints) Update ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Update(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, opts v1.UpdateOptions) (result *v1alpha1.AzureEndpoint, err error)
Update takes the representation of a azureEndpoint and updates it. Returns the server's representation of the azureEndpoint, and an error, if there is any.
func (*FakeAzureEndpoints) UpdateStatus ¶ added in v0.5.0
func (c *FakeAzureEndpoints) UpdateStatus(ctx context.Context, azureEndpoint *v1alpha1.AzureEndpoint, opts v1.UpdateOptions) (*v1alpha1.AzureEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAzureEndpoints) Watch ¶ added in v0.5.0
func (c *FakeAzureEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested azureEndpoints.
type FakeEndpoints ¶
type FakeEndpoints struct { Fake *FakeTrafficmanagerV1alpha1 // contains filtered or unexported fields }
FakeEndpoints implements EndpointInterface
func (*FakeEndpoints) Create ¶
func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.CreateOptions) (result *v1alpha1.Endpoint, err error)
Create takes the representation of a endpoint and creates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) Delete ¶
func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the endpoint and deletes it. Returns an error if one occurs.
func (*FakeEndpoints) DeleteCollection ¶
func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEndpoints) Get ¶
func (c *FakeEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Endpoint, err error)
Get takes name of the endpoint, and returns the corresponding endpoint object, and an error if there is any.
func (*FakeEndpoints) List ¶
func (c *FakeEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EndpointList, err error)
List takes label and field selectors, and returns the list of Endpoints that match those selectors.
func (*FakeEndpoints) Patch ¶
func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Endpoint, err error)
Patch applies the patch and returns the patched endpoint.
func (*FakeEndpoints) Update ¶
func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (result *v1alpha1.Endpoint, err error)
Update takes the representation of a endpoint and updates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) UpdateStatus ¶
func (c *FakeEndpoints) UpdateStatus(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEndpoints) Watch ¶
func (c *FakeEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested endpoints.
type FakeExternalEndpoints ¶ added in v0.5.0
type FakeExternalEndpoints struct { Fake *FakeTrafficmanagerV1alpha1 // contains filtered or unexported fields }
FakeExternalEndpoints implements ExternalEndpointInterface
func (*FakeExternalEndpoints) Create ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Create(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.CreateOptions) (result *v1alpha1.ExternalEndpoint, err error)
Create takes the representation of a externalEndpoint and creates it. Returns the server's representation of the externalEndpoint, and an error, if there is any.
func (*FakeExternalEndpoints) Delete ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalEndpoint and deletes it. Returns an error if one occurs.
func (*FakeExternalEndpoints) DeleteCollection ¶ added in v0.5.0
func (c *FakeExternalEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalEndpoints) Get ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalEndpoint, err error)
Get takes name of the externalEndpoint, and returns the corresponding externalEndpoint object, and an error if there is any.
func (*FakeExternalEndpoints) List ¶ added in v0.5.0
func (c *FakeExternalEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalEndpointList, err error)
List takes label and field selectors, and returns the list of ExternalEndpoints that match those selectors.
func (*FakeExternalEndpoints) Patch ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ExternalEndpoint, err error)
Patch applies the patch and returns the patched externalEndpoint.
func (*FakeExternalEndpoints) Update ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Update(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.UpdateOptions) (result *v1alpha1.ExternalEndpoint, err error)
Update takes the representation of a externalEndpoint and updates it. Returns the server's representation of the externalEndpoint, and an error, if there is any.
func (*FakeExternalEndpoints) UpdateStatus ¶ added in v0.5.0
func (c *FakeExternalEndpoints) UpdateStatus(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.UpdateOptions) (*v1alpha1.ExternalEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExternalEndpoints) Watch ¶ added in v0.5.0
func (c *FakeExternalEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalEndpoints.
type FakeNestedEndpoints ¶ added in v0.5.0
type FakeNestedEndpoints struct { Fake *FakeTrafficmanagerV1alpha1 // contains filtered or unexported fields }
FakeNestedEndpoints implements NestedEndpointInterface
func (*FakeNestedEndpoints) Create ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Create(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, opts v1.CreateOptions) (result *v1alpha1.NestedEndpoint, err error)
Create takes the representation of a nestedEndpoint and creates it. Returns the server's representation of the nestedEndpoint, and an error, if there is any.
func (*FakeNestedEndpoints) Delete ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nestedEndpoint and deletes it. Returns an error if one occurs.
func (*FakeNestedEndpoints) DeleteCollection ¶ added in v0.5.0
func (c *FakeNestedEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNestedEndpoints) Get ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NestedEndpoint, err error)
Get takes name of the nestedEndpoint, and returns the corresponding nestedEndpoint object, and an error if there is any.
func (*FakeNestedEndpoints) List ¶ added in v0.5.0
func (c *FakeNestedEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NestedEndpointList, err error)
List takes label and field selectors, and returns the list of NestedEndpoints that match those selectors.
func (*FakeNestedEndpoints) Patch ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NestedEndpoint, err error)
Patch applies the patch and returns the patched nestedEndpoint.
func (*FakeNestedEndpoints) Update ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Update(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, opts v1.UpdateOptions) (result *v1alpha1.NestedEndpoint, err error)
Update takes the representation of a nestedEndpoint and updates it. Returns the server's representation of the nestedEndpoint, and an error, if there is any.
func (*FakeNestedEndpoints) UpdateStatus ¶ added in v0.5.0
func (c *FakeNestedEndpoints) UpdateStatus(ctx context.Context, nestedEndpoint *v1alpha1.NestedEndpoint, opts v1.UpdateOptions) (*v1alpha1.NestedEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNestedEndpoints) Watch ¶ added in v0.5.0
func (c *FakeNestedEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nestedEndpoints.
type FakeProfiles ¶
type FakeProfiles struct { Fake *FakeTrafficmanagerV1alpha1 // contains filtered or unexported fields }
FakeProfiles implements ProfileInterface
func (*FakeProfiles) Create ¶
func (c *FakeProfiles) Create(ctx context.Context, profile *v1alpha1.Profile, opts v1.CreateOptions) (result *v1alpha1.Profile, err error)
Create takes the representation of a profile and creates it. Returns the server's representation of the profile, and an error, if there is any.
func (*FakeProfiles) Delete ¶
func (c *FakeProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the profile and deletes it. Returns an error if one occurs.
func (*FakeProfiles) DeleteCollection ¶
func (c *FakeProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProfiles) Get ¶
func (c *FakeProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Profile, err error)
Get takes name of the profile, and returns the corresponding profile object, and an error if there is any.
func (*FakeProfiles) List ¶
func (c *FakeProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProfileList, err error)
List takes label and field selectors, and returns the list of Profiles that match those selectors.
func (*FakeProfiles) Patch ¶
func (c *FakeProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Profile, err error)
Patch applies the patch and returns the patched profile.
func (*FakeProfiles) Update ¶
func (c *FakeProfiles) Update(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (result *v1alpha1.Profile, err error)
Update takes the representation of a profile and updates it. Returns the server's representation of the profile, and an error, if there is any.
func (*FakeProfiles) UpdateStatus ¶
func (c *FakeProfiles) UpdateStatus(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (*v1alpha1.Profile, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProfiles) Watch ¶
func (c *FakeProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested profiles.
type FakeTrafficmanagerV1alpha1 ¶
func (*FakeTrafficmanagerV1alpha1) AzureEndpoints ¶ added in v0.5.0
func (c *FakeTrafficmanagerV1alpha1) AzureEndpoints(namespace string) v1alpha1.AzureEndpointInterface
func (*FakeTrafficmanagerV1alpha1) Endpoints ¶
func (c *FakeTrafficmanagerV1alpha1) Endpoints(namespace string) v1alpha1.EndpointInterface
func (*FakeTrafficmanagerV1alpha1) ExternalEndpoints ¶ added in v0.5.0
func (c *FakeTrafficmanagerV1alpha1) ExternalEndpoints(namespace string) v1alpha1.ExternalEndpointInterface
func (*FakeTrafficmanagerV1alpha1) NestedEndpoints ¶ added in v0.5.0
func (c *FakeTrafficmanagerV1alpha1) NestedEndpoints(namespace string) v1alpha1.NestedEndpointInterface
func (*FakeTrafficmanagerV1alpha1) Profiles ¶
func (c *FakeTrafficmanagerV1alpha1) Profiles(namespace string) v1alpha1.ProfileInterface
func (*FakeTrafficmanagerV1alpha1) RESTClient ¶
func (c *FakeTrafficmanagerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.