Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = sdnStrategy{kapi.Scheme}
Strategy is the default logic that applies when creating and updating ClusterNetwork objects via the REST API.
Functions ¶
Types ¶
type Registry ¶
type Registry interface { // GetClusterNetwork returns a specific network GetClusterNetwork(ctx kapi.Context, name string) (*api.ClusterNetwork, error) // CreateClusterNetwork creates a cluster network CreateClusterNetwork(ctx kapi.Context, hs *api.ClusterNetwork) (*api.ClusterNetwork, error) }
Registry is an interface implemented by things that know how to store sdn's ClusterNetwork objects.
func NewRegistry ¶
NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.
Click to show internal directories.
Click to hide internal directories.