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 *v1beta2.AddressGroup, err error)
- func (c *FakeAddressGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.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 *v1beta2.AppliedToGroup, err error)
- func (c *FakeAppliedToGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.AppliedToGroupList, err error)
- func (c *FakeAppliedToGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterGroupMembers
- func (c *FakeClusterGroupMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ClusterGroupMembers, err error)
- func (c *FakeClusterGroupMembers) PaginatedGet(ctx context.Context, name string, pagination v1beta2.PaginationGetOptions, ...) (result *v1beta2.ClusterGroupMembers, err error)
- type FakeControlplaneV1beta2
- func (c *FakeControlplaneV1beta2) AddressGroups() v1beta2.AddressGroupInterface
- func (c *FakeControlplaneV1beta2) AppliedToGroups() v1beta2.AppliedToGroupInterface
- func (c *FakeControlplaneV1beta2) ClusterGroupMembers() v1beta2.ClusterGroupMembersInterface
- func (c *FakeControlplaneV1beta2) EgressGroups() v1beta2.EgressGroupInterface
- func (c *FakeControlplaneV1beta2) GroupAssociations(namespace string) v1beta2.GroupAssociationInterface
- func (c *FakeControlplaneV1beta2) GroupMembers(namespace string) v1beta2.GroupMembersInterface
- func (c *FakeControlplaneV1beta2) IPGroupAssociations() v1beta2.IPGroupAssociationInterface
- func (c *FakeControlplaneV1beta2) NetworkPolicies() v1beta2.NetworkPolicyInterface
- func (c *FakeControlplaneV1beta2) NodeStatsSummaries() v1beta2.NodeStatsSummaryInterface
- func (c *FakeControlplaneV1beta2) RESTClient() rest.Interface
- func (c *FakeControlplaneV1beta2) SupportBundleCollections() v1beta2.SupportBundleCollectionInterface
- type FakeEgressGroups
- func (c *FakeEgressGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.EgressGroup, err error)
- func (c *FakeEgressGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EgressGroupList, err error)
- func (c *FakeEgressGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGroupAssociations
- type FakeGroupMembers
- type FakeIPGroupAssociations
- type FakeNetworkPolicies
- func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.NetworkPolicyList, err error)
- func (c *FakeNetworkPolicies) UpdateStatus(ctx context.Context, name string, status *v1beta2.NetworkPolicyStatus) error
- func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeStatsSummaries
- type FakeSupportBundleCollections
- func (c *FakeSupportBundleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundleCollection, err error)
- func (c *FakeSupportBundleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleCollectionList, err error)
- func (c *FakeSupportBundleCollections) UpdateStatus(ctx context.Context, name string, ...) error
- func (c *FakeSupportBundleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAddressGroups ¶
type FakeAddressGroups struct {
Fake *FakeControlplaneV1beta2
}
FakeAddressGroups implements AddressGroupInterface
func (*FakeAddressGroups) Get ¶
func (c *FakeAddressGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.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 *v1beta2.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 *FakeControlplaneV1beta2
}
FakeAppliedToGroups implements AppliedToGroupInterface
func (*FakeAppliedToGroups) Get ¶
func (c *FakeAppliedToGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.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 *v1beta2.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 FakeClusterGroupMembers ¶
type FakeClusterGroupMembers struct {
Fake *FakeControlplaneV1beta2
}
FakeClusterGroupMembers implements ClusterGroupMembersInterface
func (*FakeClusterGroupMembers) Get ¶
func (c *FakeClusterGroupMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ClusterGroupMembers, err error)
Get takes name of the clusterGroupMembers, and returns the corresponding clusterGroupMembers object, and an error if there is any.
func (*FakeClusterGroupMembers) PaginatedGet ¶ added in v1.14.0
func (c *FakeClusterGroupMembers) PaginatedGet(ctx context.Context, name string, pagination v1beta2.PaginationGetOptions, options v1.GetOptions) (result *v1beta2.ClusterGroupMembers, err error)
type FakeControlplaneV1beta2 ¶
func (*FakeControlplaneV1beta2) AddressGroups ¶
func (c *FakeControlplaneV1beta2) AddressGroups() v1beta2.AddressGroupInterface
func (*FakeControlplaneV1beta2) AppliedToGroups ¶
func (c *FakeControlplaneV1beta2) AppliedToGroups() v1beta2.AppliedToGroupInterface
func (*FakeControlplaneV1beta2) ClusterGroupMembers ¶
func (c *FakeControlplaneV1beta2) ClusterGroupMembers() v1beta2.ClusterGroupMembersInterface
func (*FakeControlplaneV1beta2) EgressGroups ¶
func (c *FakeControlplaneV1beta2) EgressGroups() v1beta2.EgressGroupInterface
func (*FakeControlplaneV1beta2) GroupAssociations ¶
func (c *FakeControlplaneV1beta2) GroupAssociations(namespace string) v1beta2.GroupAssociationInterface
func (*FakeControlplaneV1beta2) GroupMembers ¶ added in v1.14.0
func (c *FakeControlplaneV1beta2) GroupMembers(namespace string) v1beta2.GroupMembersInterface
func (*FakeControlplaneV1beta2) IPGroupAssociations ¶ added in v1.12.0
func (c *FakeControlplaneV1beta2) IPGroupAssociations() v1beta2.IPGroupAssociationInterface
func (*FakeControlplaneV1beta2) NetworkPolicies ¶
func (c *FakeControlplaneV1beta2) NetworkPolicies() v1beta2.NetworkPolicyInterface
func (*FakeControlplaneV1beta2) NodeStatsSummaries ¶
func (c *FakeControlplaneV1beta2) NodeStatsSummaries() v1beta2.NodeStatsSummaryInterface
func (*FakeControlplaneV1beta2) RESTClient ¶
func (c *FakeControlplaneV1beta2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeControlplaneV1beta2) SupportBundleCollections ¶ added in v1.10.0
func (c *FakeControlplaneV1beta2) SupportBundleCollections() v1beta2.SupportBundleCollectionInterface
type FakeEgressGroups ¶
type FakeEgressGroups struct {
Fake *FakeControlplaneV1beta2
}
FakeEgressGroups implements EgressGroupInterface
func (*FakeEgressGroups) Get ¶
func (c *FakeEgressGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.EgressGroup, err error)
Get takes name of the egressGroup, and returns the corresponding egressGroup object, and an error if there is any.
func (*FakeEgressGroups) List ¶
func (c *FakeEgressGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EgressGroupList, err error)
List takes label and field selectors, and returns the list of EgressGroups that match those selectors.
func (*FakeEgressGroups) Watch ¶
func (c *FakeEgressGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested egressGroups.
type FakeGroupAssociations ¶
type FakeGroupAssociations struct { Fake *FakeControlplaneV1beta2 // contains filtered or unexported fields }
FakeGroupAssociations implements GroupAssociationInterface
func (*FakeGroupAssociations) Get ¶
func (c *FakeGroupAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.GroupAssociation, err error)
Get takes name of the groupAssociation, and returns the corresponding groupAssociation object, and an error if there is any.
type FakeGroupMembers ¶ added in v1.14.0
type FakeGroupMembers struct { Fake *FakeControlplaneV1beta2 // contains filtered or unexported fields }
FakeGroupMembers implements GroupMembersInterface
func (*FakeGroupMembers) Get ¶ added in v1.14.0
func (c *FakeGroupMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.GroupMembers, err error)
Get takes name of the groupMembers, and returns the corresponding groupMembers object, and an error if there is any.
func (*FakeGroupMembers) PaginatedGet ¶ added in v1.14.0
func (c *FakeGroupMembers) PaginatedGet(ctx context.Context, name string, pagination v1beta2.PaginationGetOptions, options v1.GetOptions) (result *v1beta2.GroupMembers, err error)
type FakeIPGroupAssociations ¶ added in v1.12.0
type FakeIPGroupAssociations struct {
Fake *FakeControlplaneV1beta2
}
FakeIPGroupAssociations implements IPGroupAssociationInterface
func (*FakeIPGroupAssociations) Get ¶ added in v1.12.0
func (c *FakeIPGroupAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.IPGroupAssociation, err error)
Get takes name of the iPGroupAssociation, and returns the corresponding iPGroupAssociation object, and an error if there is any.
type FakeNetworkPolicies ¶
type FakeNetworkPolicies struct {
Fake *FakeControlplaneV1beta2
}
FakeNetworkPolicies implements NetworkPolicyInterface
func (*FakeNetworkPolicies) Get ¶
func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.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 *v1beta2.NetworkPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkPolicies that match those selectors.
func (*FakeNetworkPolicies) UpdateStatus ¶
func (c *FakeNetworkPolicies) UpdateStatus(ctx context.Context, name string, status *v1beta2.NetworkPolicyStatus) error
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 ¶
type FakeNodeStatsSummaries struct {
Fake *FakeControlplaneV1beta2
}
FakeNodeStatsSummaries implements NodeStatsSummaryInterface
func (*FakeNodeStatsSummaries) Create ¶
func (c *FakeNodeStatsSummaries) Create(ctx context.Context, nodeStatsSummary *v1beta2.NodeStatsSummary, opts v1.CreateOptions) (result *v1beta2.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.
type FakeSupportBundleCollections ¶ added in v1.10.0
type FakeSupportBundleCollections struct {
Fake *FakeControlplaneV1beta2
}
FakeSupportBundleCollections implements SupportBundleCollectionInterface
func (*FakeSupportBundleCollections) Get ¶ added in v1.10.0
func (c *FakeSupportBundleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundleCollection, err error)
Get takes name of the supportBundleCollection, and returns the corresponding supportBundleCollection object, and an error if there is any.
func (*FakeSupportBundleCollections) List ¶ added in v1.10.0
func (c *FakeSupportBundleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleCollectionList, err error)
List takes label and field selectors, and returns the list of SupportBundleCollections that match those selectors.
func (*FakeSupportBundleCollections) UpdateStatus ¶ added in v1.10.0
func (c *FakeSupportBundleCollections) UpdateStatus(ctx context.Context, name string, status *v1beta2.SupportBundleCollectionStatus) error
func (*FakeSupportBundleCollections) Watch ¶ added in v1.10.0
func (c *FakeSupportBundleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested supportBundleCollections.
Source Files ¶
- doc.go
- fake_addressgroup.go
- fake_appliedtogroup.go
- fake_clustergroupmembers.go
- fake_clustergroupmembers_expansion.go
- fake_controlplane_client.go
- fake_egressgroup.go
- fake_groupassociation.go
- fake_groupmembers.go
- fake_groupmembers_expansion.go
- fake_ipgroupassociation.go
- fake_networkpolicy.go
- fake_networkpolicy_expansion.go
- fake_nodestatssummary.go
- fake_supportbundlecollection.go
- fake_supportbundlecollection_expansion.go