Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileRegistryData ¶
FileRegistryData wrapper around cluster items read from file
type Filter ¶
type Filter struct {
LifecycleStatus *string
}
Filter defines a filter which can be used when listing clusters.
type Options ¶
type Options struct {
Debug bool
}
Options are options which can be used to configure the httpRegistry when it is initialized.
type Registry ¶
type Registry interface { ListClusters(filter Filter) ([]*api.Cluster, error) UpdateCluster(cluster *api.Cluster) error }
Registry defines an interface for listing and updating clusters from a cluster registry.
func NewFileRegistry ¶
NewFileRegistry returns file registry client
func NewHTTPRegistry ¶
NewHTTPRegistry initializes a new http based registry source.
func NewRegistry ¶
func NewRegistry(uri string, tokenSource oauth2.TokenSource, options *Options) Registry
NewRegistry initializes a new registry source based on the uri.
func NewStaticRegistry ¶
func NewStaticRegistry() Registry
NewStaticRegistry initializes a new staticRegistry.
Click to show internal directories.
Click to hide internal directories.