rorclient

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 25 Imported by: 2

Documentation

Index

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

func (c *RorClient) CheckConnection() error

CheckConnection checks the connection to the transport.

func (*RorClient) CheckHealth added in v1.4.7

func (c *RorClient) CheckHealth(ctx context.Context) []rorhealth.Check

CheckHealth checks the health of the RorClient.

func (*RorClient) CheckHealthWithoutContext added in v1.7.0

func (c *RorClient) CheckHealthWithoutContext() []rorhealth.Check

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

func (c *RorClient) GetApiSecret() string

GetApiSecret gets the API secret from the transport.

func (*RorClient) GetOwnerref added in v1.4.0

GetOwnerref gets the owner reference for the RorClient.

func (*RorClient) GetRole added in v1.3.0

func (c *RorClient) GetRole() string

func (*RorClient) Info

func (c *RorClient) Info() v1info.InfoInterface

func (*RorClient) Metrics

func (c *RorClient) Metrics() v1metrics.MetricsInterface

func (*RorClient) Ping

func (c *RorClient) Ping() bool

Ping checks the connection to the transport. Old version used error handling, use CheckConnection instead.

func (*RorClient) PingWithContext added in v1.7.0

func (c *RorClient) PingWithContext(ctx context.Context) bool

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 (*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 (*RorClient) V2 added in v1.13.0

func (*RorClient) Workspaces

func (c *RorClient) Workspaces() v1workspaces.WorkspacesInterface

type RorConfig

type RorConfig struct {
	Host string
}

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.
v2
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.

Jump to

Keyboard shortcuts

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