Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddressGroups
- func (c *FakeAddressGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AddressGroup, err error)
- func (c *FakeAddressGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AddressGroupList, err error)
- func (c *FakeAddressGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAppliedToGroups
- func (c *FakeAppliedToGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AppliedToGroup, err error)
- func (c *FakeAppliedToGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AppliedToGroupList, err error)
- func (c *FakeAppliedToGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeControlplaneV1beta1
- func (c *FakeControlplaneV1beta1) AddressGroups() v1beta1.AddressGroupInterface
- func (c *FakeControlplaneV1beta1) AppliedToGroups() v1beta1.AppliedToGroupInterface
- func (c *FakeControlplaneV1beta1) NetworkPolicies(namespace string) v1beta1.NetworkPolicyInterface
- func (c *FakeControlplaneV1beta1) NodeStatsSummaries() v1beta1.NodeStatsSummaryInterface
- func (c *FakeControlplaneV1beta1) RESTClient() rest.Interface
- type FakeNetworkPolicies
- func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkPolicyList, err error)
- func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeStatsSummaries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAddressGroups ¶
type FakeAddressGroups struct {
Fake *FakeControlplaneV1beta1
}
FakeAddressGroups implements AddressGroupInterface
func (*FakeAddressGroups) Get ¶
func (c *FakeAddressGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AddressGroup, err error)
Get takes name of the addressGroup, and returns the corresponding addressGroup object, and an error if there is any.
func (*FakeAddressGroups) List ¶
func (c *FakeAddressGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AddressGroupList, err error)
List takes label and field selectors, and returns the list of AddressGroups that match those selectors.
func (*FakeAddressGroups) Watch ¶
func (c *FakeAddressGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addressGroups.
type FakeAppliedToGroups ¶
type FakeAppliedToGroups struct {
Fake *FakeControlplaneV1beta1
}
FakeAppliedToGroups implements AppliedToGroupInterface
func (*FakeAppliedToGroups) Get ¶
func (c *FakeAppliedToGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AppliedToGroup, err error)
Get takes name of the appliedToGroup, and returns the corresponding appliedToGroup object, and an error if there is any.
func (*FakeAppliedToGroups) List ¶
func (c *FakeAppliedToGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AppliedToGroupList, err error)
List takes label and field selectors, and returns the list of AppliedToGroups that match those selectors.
func (*FakeAppliedToGroups) Watch ¶
func (c *FakeAppliedToGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appliedToGroups.
type FakeControlplaneV1beta1 ¶
func (*FakeControlplaneV1beta1) AddressGroups ¶
func (c *FakeControlplaneV1beta1) AddressGroups() v1beta1.AddressGroupInterface
func (*FakeControlplaneV1beta1) AppliedToGroups ¶
func (c *FakeControlplaneV1beta1) AppliedToGroups() v1beta1.AppliedToGroupInterface
func (*FakeControlplaneV1beta1) NetworkPolicies ¶
func (c *FakeControlplaneV1beta1) NetworkPolicies(namespace string) v1beta1.NetworkPolicyInterface
func (*FakeControlplaneV1beta1) NodeStatsSummaries ¶ added in v0.10.0
func (c *FakeControlplaneV1beta1) NodeStatsSummaries() v1beta1.NodeStatsSummaryInterface
func (*FakeControlplaneV1beta1) RESTClient ¶
func (c *FakeControlplaneV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNetworkPolicies ¶
type FakeNetworkPolicies struct { Fake *FakeControlplaneV1beta1 // contains filtered or unexported fields }
FakeNetworkPolicies implements NetworkPolicyInterface
func (*FakeNetworkPolicies) Get ¶
func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkPolicy, err error)
Get takes name of the networkPolicy, and returns the corresponding networkPolicy object, and an error if there is any.
func (*FakeNetworkPolicies) List ¶
func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkPolicies that match those selectors.
func (*FakeNetworkPolicies) Watch ¶
func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPolicies.
type FakeNodeStatsSummaries ¶ added in v0.10.0
type FakeNodeStatsSummaries struct {
Fake *FakeControlplaneV1beta1
}
FakeNodeStatsSummaries implements NodeStatsSummaryInterface
func (*FakeNodeStatsSummaries) Create ¶ added in v0.10.0
func (c *FakeNodeStatsSummaries) Create(ctx context.Context, nodeStatsSummary *v1beta1.NodeStatsSummary, opts v1.CreateOptions) (result *v1beta1.NodeStatsSummary, err error)
Create takes the representation of a nodeStatsSummary and creates it. Returns the server's representation of the nodeStatsSummary, and an error, if there is any.