Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusStrategy = clusterStatusStrategy{Strategy}
View Source
var Strategy = clusterStrategy{api.Scheme, api.SimpleNameGenerator}
Functions ¶
func ClusterToSelectableFields ¶
func ClusterToSelectableFields(cluster *federation.Cluster) fields.Set
func MatchCluster ¶
Types ¶
type Registry ¶
type Registry interface { ListClusters(ctx api.Context, options *api.ListOptions) (*federation.ClusterList, error) WatchCluster(ctx api.Context, options *api.ListOptions) (watch.Interface, error) GetCluster(ctx api.Context, name string) (*federation.Cluster, error) CreateCluster(ctx api.Context, cluster *federation.Cluster) error UpdateCluster(ctx api.Context, cluster *federation.Cluster) error DeleteCluster(ctx api.Context, name string) error }
Registry is an interface implemented by things that know how to store Cluster objects.
func NewRegistry ¶
func NewRegistry(s rest.StandardStorage) Registry
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.