Documentation ¶
Index ¶
- type V1Client
- func (c *V1Client) Create(clusterInput apicontracts.Cluster) (string, error)
- func (c *V1Client) Get(limit int, offset int) (*[]apicontracts.Cluster, error)
- func (c *V1Client) GetAll() (*[]apicontracts.Cluster, error)
- func (c *V1Client) GetByFilter(filter apicontracts.Filter) (*[]apicontracts.Cluster, error)
- func (c *V1Client) GetById(id string) (*apicontracts.Cluster, error)
- func (c *V1Client) GetKubeconfig(clusterid, username, password string) (*apicontracts.ClusterKubeconfig, error)
- func (c *V1Client) GetSelf() (apicontracts.ClusterSelf, error)
- func (c *V1Client) Register(data apicontracts.AgentApiKeyModel) (string, error)
- func (c *V1Client) UpdateById(id string, cluster *apicontracts.Cluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V1Client ¶
type V1Client struct { Client *httpclient.HttpTransportClient // contains filtered or unexported fields }
func NewV1Client ¶
func NewV1Client(client *httpclient.HttpTransportClient) *V1Client
func (*V1Client) Create ¶ added in v0.1.5
func (c *V1Client) Create(clusterInput apicontracts.Cluster) (string, error)
func (*V1Client) GetByFilter ¶
func (c *V1Client) GetByFilter(filter apicontracts.Filter) (*[]apicontracts.Cluster, error)
func (*V1Client) GetKubeconfig ¶
func (c *V1Client) GetKubeconfig(clusterid, username, password string) (*apicontracts.ClusterKubeconfig, error)
func (*V1Client) GetSelf ¶
func (c *V1Client) GetSelf() (apicontracts.ClusterSelf, error)
func (*V1Client) Register ¶ added in v0.1.8
func (c *V1Client) Register(data apicontracts.AgentApiKeyModel) (string, error)
func (*V1Client) UpdateById ¶
func (c *V1Client) UpdateById(id string, cluster *apicontracts.Cluster) error
Click to show internal directories.
Click to hide internal directories.