internalversion

package
v0.0.0-...-712e5b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL