Documentation
¶
Index ¶
- type RorClient
- func (c *RorClient) Acl() v1acl.AclInterface
- func (c *RorClient) ApiKeysV2() v2apikeys.ApiKeysInterface
- func (c *RorClient) CheckConnection() error
- func (c *RorClient) CheckHealth(ctx context.Context) []rorhealth.Check
- func (c *RorClient) CheckHealthWithoutContext() []rorhealth.Check
- func (c *RorClient) Clusters() v1clusters.ClustersInterface
- func (c *RorClient) Datacenters() v1datacenter.DatacenterInterface
- func (c *RorClient) GetApiSecret() string
- func (c *RorClient) GetOwnerref() rorresourceowner.RorResourceOwnerReference
- func (c *RorClient) GetRole() string
- func (c *RorClient) Info() v1info.InfoInterface
- func (c *RorClient) Metrics() v1metrics.MetricsInterface
- func (c *RorClient) Ping() bool
- func (c *RorClient) PingWithContext(ctx context.Context) bool
- func (c *RorClient) Projects() v1projects.ProjectsInterface
- func (c *RorClient) Resources() v1resources.ResourceInterface
- func (c *RorClient) ResourcesV2() v2resources.ResourcesInterface
- func (c *RorClient) Self() rorclientv2self.SelfInterface
- func (c *RorClient) SetOwnerref(ownerref rorresourceowner.RorResourceOwnerReference)
- func (c *RorClient) SetTransport(transport transportinterface.RorTransport)
- func (c *RorClient) Stream() v1stream.StreamInterface
- func (c *RorClient) StreamV2() v2stream.StreamInterface
- func (c *RorClient) Token() v1token.TokenInterface
- func (c *RorClient) TokenV2() v2token.TokenInterface
- func (c *RorClient) V1() clientinterface.RorCommonClientApiInterfaceV1
- func (c *RorClient) V2() clientinterface.RorCommonClientApiInterfaceV2
- func (c *RorClient) Workspaces() v1workspaces.WorkspacesInterface
- type RorClientInterface
- type RorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RorClient ¶
type RorClient struct {
Transport transportinterface.RorTransport
// contains filtered or unexported fields
}
func NewRorClient ¶
func NewRorClient(transport transportinterface.RorTransport) *RorClient
func (*RorClient) Acl ¶ added in v1.4.13
func (c *RorClient) Acl() v1acl.AclInterface
func (*RorClient) ApiKeysV2 ¶ added in v1.13.0
func (c *RorClient) ApiKeysV2() v2apikeys.ApiKeysInterface
func (*RorClient) CheckConnection ¶ added in v1.4.7
CheckConnection checks the connection to the transport.
func (*RorClient) CheckHealth ¶ added in v1.4.7
CheckHealth checks the health of the RorClient.
func (*RorClient) CheckHealthWithoutContext ¶ added in v1.7.0
CheckHealthWithoutContext checks the health of the RorClient without a context.
func (*RorClient) Clusters ¶
func (c *RorClient) Clusters() v1clusters.ClustersInterface
func (*RorClient) Datacenters ¶
func (c *RorClient) Datacenters() v1datacenter.DatacenterInterface
func (*RorClient) GetApiSecret ¶ added in v1.3.0
GetApiSecret gets the API secret from the transport.
func (*RorClient) GetOwnerref ¶ added in v1.4.0
func (c *RorClient) GetOwnerref() rorresourceowner.RorResourceOwnerReference
GetOwnerref gets the owner reference for the RorClient.
func (*RorClient) Info ¶
func (c *RorClient) Info() v1info.InfoInterface
func (*RorClient) Metrics ¶
func (c *RorClient) Metrics() v1metrics.MetricsInterface
func (*RorClient) Ping ¶
Ping checks the connection to the transport. Old version used error handling, use CheckConnection instead.
func (*RorClient) PingWithContext ¶ added in v1.7.0
PingWithContext checks the connection to the transport with a context.
func (*RorClient) Projects ¶
func (c *RorClient) Projects() v1projects.ProjectsInterface
func (*RorClient) Resources ¶
func (c *RorClient) Resources() v1resources.ResourceInterface
func (*RorClient) ResourcesV2 ¶ added in v1.13.0
func (c *RorClient) ResourcesV2() v2resources.ResourcesInterface
func (*RorClient) Self ¶
func (c *RorClient) Self() rorclientv2self.SelfInterface
func (*RorClient) SetOwnerref ¶ added in v1.4.0
func (c *RorClient) SetOwnerref(ownerref rorresourceowner.RorResourceOwnerReference)
SetOwnerref sets the owner reference for the RorClient.
func (*RorClient) SetTransport ¶
func (c *RorClient) SetTransport(transport transportinterface.RorTransport)
SetTransport sets the transport for the RorClient.
func (*RorClient) Stream ¶ added in v0.3.5
func (c *RorClient) Stream() v1stream.StreamInterface
func (*RorClient) StreamV2 ¶ added in v1.1.0
func (c *RorClient) StreamV2() v2stream.StreamInterface
func (*RorClient) Token ¶ added in v1.5.8
func (c *RorClient) Token() v1token.TokenInterface
func (*RorClient) TokenV2 ¶ added in v1.5.8
func (c *RorClient) TokenV2() v2token.TokenInterface
func (*RorClient) V1 ¶ added in v1.13.0
func (c *RorClient) V1() clientinterface.RorCommonClientApiInterfaceV1
func (*RorClient) V2 ¶ added in v1.13.0
func (c *RorClient) V2() clientinterface.RorCommonClientApiInterfaceV2
func (*RorClient) Workspaces ¶
func (c *RorClient) Workspaces() v1workspaces.WorkspacesInterface
type RorClientInterface ¶ added in v1.3.0
type RorClientInterface interface {
transportinterface.RorCommonClientTransportInterface
clientinterface.RorCommonClientApiInterface
clientinterface.RorCommonClientApiInterfaceVersioned
clientinterface.RorCommonClientOwnerInterface
transportinterface.RorCommonClientTransportSetterInterface
clients.CommonClient
}
Directories
¶
| Path | Synopsis |
|---|---|
|
interfaces
|
|
|
transports
|
|
|
resttransport/httpclient
Package httpclient provides an HTTP transport implementation for interacting with ROR APIs.
|
Package httpclient provides an HTTP transport implementation for interacting with ROR APIs. |
|
transports/resttransport/httpclient
Package httpclient provides an HTTP transport implementation for interacting with ROR APIs.
|
Package httpclient provides an HTTP transport implementation for interacting with ROR APIs. |
Click to show internal directories.
Click to hide internal directories.