Documentation ¶
Index ¶
- type ResourceClient
- func (r *ResourceClient) Delete(ctx context.Context, uid string) (*rorresources.ResourceUpdateResults, error)
- func (r *ResourceClient) Exists(ctx context.Context, uid string) (bool, error)
- func (r *ResourceClient) Get(ctx context.Context, query rorresources.ResourceQuery) (*rorresources.ResourceSet, error)
- func (r *ResourceClient) GetByUid(ctx context.Context, uid string) (*rorresources.ResourceSet, error)
- func (r *ResourceClient) GetOwnHashes(clusterId string) (*apicontractsv2resources.HashList, error)
- func (r *ResourceClient) Update(ctx context.Context, set rorresources.ResourceSet) (*rorresources.ResourceUpdateResults, error)
- func (r *ResourceClient) UpdateOne(ctx context.Context, resource rorresources.Resource) (*rorresources.ResourceUpdateResults, error)
- type RorClient
- func (c *RorClient) Clusters() v1clusters.ClustersInterface
- func (c *RorClient) Datacenters() v1datacenter.DatacenterInterface
- func (c *RorClient) Info() v1info.InfoInterface
- func (c *RorClient) Metrics() v1metrics.MetricsInterface
- func (c *RorClient) Ping() error
- func (c *RorClient) Projects() v1projects.ProjectsInterface
- func (c *RorClient) ResourceV2() *ResourceClient
- func (c *RorClient) Resources() v1resources.ResourceInterface
- func (c *RorClient) Self() rorclientv2self.SelfInterface
- func (c *RorClient) SetTransport(transport transports.RorTransport)
- func (c *RorClient) Stream() v1stream.StreamInterface
- func (c *RorClient) Workspaces() v1workspaces.WorkspacesInterface
- type RorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceClient ¶ added in v0.3.11
type ResourceClient struct {
Transport v2resources.ResourcesInterface
}
func NewResourceClient ¶ added in v0.3.11
func NewResourceClient(transport v2resources.ResourcesInterface) ResourceClient
func (*ResourceClient) Delete ¶ added in v0.3.11
func (r *ResourceClient) Delete(ctx context.Context, uid string) (*rorresources.ResourceUpdateResults, error)
func (*ResourceClient) Get ¶ added in v0.3.11
func (r *ResourceClient) Get(ctx context.Context, query rorresources.ResourceQuery) (*rorresources.ResourceSet, error)
func (*ResourceClient) GetByUid ¶ added in v0.3.11
func (r *ResourceClient) GetByUid(ctx context.Context, uid string) (*rorresources.ResourceSet, error)
func (*ResourceClient) GetOwnHashes ¶ added in v0.3.11
func (r *ResourceClient) GetOwnHashes(clusterId string) (*apicontractsv2resources.HashList, error)
func (*ResourceClient) Update ¶ added in v0.3.11
func (r *ResourceClient) Update(ctx context.Context, set rorresources.ResourceSet) (*rorresources.ResourceUpdateResults, error)
func (*ResourceClient) UpdateOne ¶ added in v0.3.11
func (r *ResourceClient) UpdateOne(ctx context.Context, resource rorresources.Resource) (*rorresources.ResourceUpdateResults, error)
type RorClient ¶
type RorClient struct { Transport transports.RorTransport // contains filtered or unexported fields }
func NewRorClient ¶
func NewRorClient(transport transports.RorTransport) *RorClient
func (*RorClient) Clusters ¶
func (c *RorClient) Clusters() v1clusters.ClustersInterface
func (*RorClient) Datacenters ¶
func (c *RorClient) Datacenters() v1datacenter.DatacenterInterface
func (*RorClient) Info ¶
func (c *RorClient) Info() v1info.InfoInterface
func (*RorClient) Metrics ¶
func (c *RorClient) Metrics() v1metrics.MetricsInterface
func (*RorClient) Projects ¶
func (c *RorClient) Projects() v1projects.ProjectsInterface
func (*RorClient) ResourceV2 ¶ added in v0.1.5
func (c *RorClient) ResourceV2() *ResourceClient
func (*RorClient) Resources ¶
func (c *RorClient) Resources() v1resources.ResourceInterface
func (*RorClient) Self ¶
func (c *RorClient) Self() rorclientv2self.SelfInterface
func (*RorClient) SetTransport ¶
func (c *RorClient) SetTransport(transport transports.RorTransport)
func (*RorClient) Stream ¶ added in v0.3.5
func (c *RorClient) Stream() v1stream.StreamInterface
func (*RorClient) Workspaces ¶
func (c *RorClient) Workspaces() v1workspaces.WorkspacesInterface
Click to show internal directories.
Click to hide internal directories.