Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetworkPolicies ¶
func NewNetworkPolicies(c v1beta1.ExtensionsV1beta1Interface, namespace string) *networkPolicies
newNetworkPolicies returns a NetworkPolicies
Types ¶
type NetworkPoliciesGetter ¶
type NetworkPoliciesGetter interface {
NetworkPolicies(namespace string) NetworkPolicyInterface
}
NetworkPoliciesGetter has a method to return a NetworkPolicyInterface. A group's client should implement this interface.
type NetworkPolicyInterface ¶
type NetworkPolicyInterface interface { Create(*extensions.NetworkPolicy) (*extensions.NetworkPolicy, error) Update(*extensions.NetworkPolicy) (*extensions.NetworkPolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error //Get(name string, options v1.GetOptions) (*extensions.NetworkPolicy, error) List(opts v1.ListOptions) (*extensions.NetworkPolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) }
NetworkPolicyInterface has methods to work with NetworkPolicy resources.
Click to show internal directories.
Click to hide internal directories.