resources

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const KubernetesResource = "Kubernetes"
View Source
const LoadBalancerResource = "LoadBalancer"
View Source
const MariadbResource = "Mariadb"
View Source
const NetworkResource = "Network"
View Source
const ObjectStorageResource = "ObjectStorage"
View Source
const PostgresFlexResource = "PostgresFlex"
View Source
const PublicIPResource = "PublicIP"
View Source
const RedisResource = "Redis"
View Source
const ServerResource = "Server"
View Source
const VolumeResource = "Volume"

Variables

This section is empty.

Functions

This section is empty.

Types

type Kubernetes

type Kubernetes struct {
	Name    *string
	Created *time.Time `description:"Creation timestamp"`
	// contains filtered or unexported fields
}

func (*Kubernetes) Properties

func (r *Kubernetes) Properties() types.Properties

func (*Kubernetes) Remove

func (r *Kubernetes) Remove(ctx context.Context) error

func (*Kubernetes) String

func (r *Kubernetes) String() string

type KubernetesLister

type KubernetesLister struct{}

func (*KubernetesLister) List

func (l *KubernetesLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type LoadBalancer

type LoadBalancer struct {
	ID      *string
	Name    *string
	Status  *string    `description:"Current load balancer status"`
	Created *time.Time `description:"Creation timestamp"`
	Labels  map[string]string
	// contains filtered or unexported fields
}

func (*LoadBalancer) Properties

func (r *LoadBalancer) Properties() types.Properties

func (*LoadBalancer) Remove

func (r *LoadBalancer) Remove(ctx context.Context) error

func (*LoadBalancer) String

func (r *LoadBalancer) String() string

type LoadBalancerLister

type LoadBalancerLister struct{}

func (*LoadBalancerLister) List

func (l *LoadBalancerLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Mariadb

type Mariadb struct {
	ID     *string
	Name   *string
	Status *string `description:"Current db status"`
	// contains filtered or unexported fields
}

func (*Mariadb) Properties

func (r *Mariadb) Properties() types.Properties

func (*Mariadb) Remove

func (r *Mariadb) Remove(ctx context.Context) error

func (*Mariadb) String

func (r *Mariadb) String() string

type MariadbLister

type MariadbLister struct{}

func (*MariadbLister) List

func (l *MariadbLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Network

type Network struct {
	ID      *string
	Name    *string
	Created *time.Time `description:"Creation timestamp"`
	// contains filtered or unexported fields
}

func (*Network) Properties

func (r *Network) Properties() types.Properties

func (*Network) Remove

func (r *Network) Remove(ctx context.Context) error

func (*Network) String

func (r *Network) String() string

type NetworkLister

type NetworkLister struct{}

func (*NetworkLister) List

func (l *NetworkLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ObjectStorage

type ObjectStorage struct {
	Name *string
	// contains filtered or unexported fields
}

func (*ObjectStorage) Properties

func (r *ObjectStorage) Properties() types.Properties

func (*ObjectStorage) Remove

func (r *ObjectStorage) Remove(ctx context.Context) error

func (*ObjectStorage) String

func (r *ObjectStorage) String() string

type ObjectStorageLister

type ObjectStorageLister struct{}

func (*ObjectStorageLister) List

func (l *ObjectStorageLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PostgresFlex

type PostgresFlex struct {
	ID     *string
	Name   *string
	Status *string `description:"Current db status"`
	// contains filtered or unexported fields
}

func (*PostgresFlex) Properties

func (r *PostgresFlex) Properties() types.Properties

func (*PostgresFlex) Remove

func (r *PostgresFlex) Remove(ctx context.Context) error

func (*PostgresFlex) String

func (r *PostgresFlex) String() string

type PostgresFlexLister

type PostgresFlexLister struct{}

func (*PostgresFlexLister) List

func (l *PostgresFlexLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PublicIP

type PublicIP struct {
	ID      *string
	Name    *string
	Address *string    `description:"Allocated public IP address"`
	Created *time.Time `description:"Creation timestamp"`
	// contains filtered or unexported fields
}

func (*PublicIP) Properties

func (r *PublicIP) Properties() types.Properties

func (*PublicIP) Remove

func (r *PublicIP) Remove(ctx context.Context) error

func (*PublicIP) String

func (r *PublicIP) String() string

type PublicIPLister

type PublicIPLister struct{}

func (*PublicIPLister) List

func (l *PublicIPLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Redis

type Redis struct {
	ID     *string
	Name   *string
	Status *string `description:"Current redis status"`
	// contains filtered or unexported fields
}

func (*Redis) Properties

func (r *Redis) Properties() types.Properties

func (*Redis) Remove

func (r *Redis) Remove(ctx context.Context) error

func (*Redis) String

func (r *Redis) String() string

type RedisLister

type RedisLister struct{}

func (*RedisLister) List

func (l *RedisLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Server

type Server struct {
	ID      *string
	Name    *string
	Status  *string    `description:"Current server status"`
	Created *time.Time `description:"Creation timestamp"`
	// contains filtered or unexported fields
}

func (*Server) Properties

func (r *Server) Properties() types.Properties

func (*Server) Remove

func (r *Server) Remove(ctx context.Context) error

func (*Server) String

func (r *Server) String() string

type ServerLister

type ServerLister struct{}

func (*ServerLister) List

func (l *ServerLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Volume

type Volume struct {
	ID      *string
	Name    *string
	Size    *int64     `description:"Volume size in GB"`
	Created *time.Time `description:"Creation timestamp"`
	Labels  map[string]interface{}
	// contains filtered or unexported fields
}

func (*Volume) Properties

func (r *Volume) Properties() types.Properties

func (*Volume) Remove

func (r *Volume) Remove(ctx context.Context) error

func (*Volume) String

func (r *Volume) String() string

type VolumeLister

type VolumeLister struct{}

func (*VolumeLister) List

func (l *VolumeLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

Jump to

Keyboard shortcuts

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