rorclient

package
v1.4.21 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 18 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 transports.RorTransport
	// contains filtered or unexported fields
}

func NewRorClient

func NewRorClient(transport transports.RorTransport) *RorClient

func (*RorClient) Acl added in v1.4.13

func (c *RorClient) Acl() v1acl.AclInterface

func (*RorClient) CheckConnection added in v1.4.7

func (c *RorClient) CheckConnection() error

func (*RorClient) CheckHealth added in v1.4.7

func (c *RorClient) CheckHealth() []health.Check

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

func (*RorClient) GetOwnerref added in v1.4.0

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) Projects

func (c *RorClient) Projects() v1projects.ProjectsInterface

func (*RorClient) ResourceV2 added in v0.1.5

func (c *RorClient) ResourceV2() v2resources.ResourcesInterface

func (*RorClient) Resources

func (c *RorClient) Resources() v1resources.ResourceInterface

func (*RorClient) Self

func (*RorClient) SetOwnerref added in v1.4.0

func (c *RorClient) SetOwnerref(ownerref rorresourceowner.RorResourceOwnerReference)

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) StreamV2 added in v1.1.0

func (c *RorClient) StreamV2() v2stream.StreamInterface

func (*RorClient) Workspaces

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

type RorClientInterface added in v1.3.0

type RorClientInterface interface {
	GetRole() string
	GetApiSecret() string
	GetOwnerref() rorresourceowner.RorResourceOwnerReference
	SetOwnerref(ownerref rorresourceowner.RorResourceOwnerReference)
	CheckConnection() error

	Acl() v1acl.AclInterface
	Clusters() v1clusters.ClustersInterface
	Datacenters() v1datacenter.DatacenterInterface
	Info() v1info.InfoInterface
	Metrics() v1metrics.MetricsInterface
	Projects() v1projects.ProjectsInterface
	ResourceV2() v2resources.ResourcesInterface
	Resources() v1resources.ResourceInterface
	Self() rorclientv2self.SelfInterface
	SetTransport(transport transports.RorTransport)
	Stream() v1stream.StreamInterface
	StreamV2() v2stream.StreamInterface
	Workspaces() v1workspaces.WorkspacesInterface

	clients.CommonClient
}

type RorConfig

type RorConfig struct {
	Host string
}

Jump to

Keyboard shortcuts

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