clusters

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClustersInterface

type ClustersInterface interface {
	GetSelf() (apicontracts.ClusterSelf, error)
	GetById(id string) (*apicontracts.Cluster, error)
	UpdateById(id string, cluster *apicontracts.Cluster) error
	GetByFilter(filter apicontracts.Filter) (*[]apicontracts.Cluster, error)
	Get(limit int, offset int) (*[]apicontracts.Cluster, error)
	GetAll() (*[]apicontracts.Cluster, error)
	GetKubeconfig(clusterid, username, password string) (*apicontracts.ClusterKubeconfig, error)
	Create(cluster apicontracts.Cluster) (string, error)
	Register(data apicontracts.AgentApiKeyModel) (string, error)
}

Jump to

Keyboard shortcuts

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