resources

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CertificateResource = "Certificate"
View Source
const FirewallResource = "Firewall"
View Source
const FloatingIPResource = "FloatingIP"
View Source
const LoadBalancerResource = "LoadBalancer"
View Source
const NetworkResource = "Network"
View Source
const PlacementGroupResource = "PlacementGroup"
View Source
const SSHKeyResource = "SSHKey"
View Source
const ServerResource = "Server"
View Source
const SnapshotResource = "Snapshot"
View Source
const VolumeResource = "Volume"

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the certificate"`
	Created *time.Time        `description:"The time the certificate was created"`
	// contains filtered or unexported fields
}

func (*Certificate) Properties added in v0.4.0

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

func (*Certificate) Remove

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

func (*Certificate) String

func (r *Certificate) String() string

type CertificateLister

type CertificateLister struct{}

func (*CertificateLister) List

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

type Firewall

type Firewall struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the firewall"`
	Created *time.Time        `description:"The time the firewall was created"`
	// contains filtered or unexported fields
}

func (*Firewall) Properties added in v0.4.0

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

func (*Firewall) Remove

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

func (*Firewall) String

func (r *Firewall) String() string

type FirewallLister

type FirewallLister struct{}

func (*FirewallLister) List

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

type FloatingIP

type FloatingIP struct {
	Name     *string
	ID       *int64
	Labels   map[string]string `description:"The labels associated with the floatingip"`
	Created  *time.Time        `description:"The time the floatingip was created"`
	Location *string           `description:"The location of the floatingip"`
	// contains filtered or unexported fields
}

func (*FloatingIP) Properties added in v0.4.0

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

func (*FloatingIP) Remove

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

func (*FloatingIP) String

func (r *FloatingIP) String() string

type FloatingIPLister

type FloatingIPLister struct{}

func (*FloatingIPLister) List

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

type LoadBalancer

type LoadBalancer struct {
	Name     *string
	ID       *int64
	Labels   map[string]string `description:"The labels associated with the loadbalancer"`
	Created  *time.Time        `description:"The time the loadbalancer was created"`
	Location *string           `description:"The location of the loadbalancer"`
	// contains filtered or unexported fields
}

func (*LoadBalancer) Properties added in v0.4.0

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 Network

type Network struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the network"`
	Created *time.Time        `description:"The time the network was created"`
	// contains filtered or unexported fields
}

func (*Network) Properties added in v0.4.0

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 PlacementGroup

type PlacementGroup struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the placement group"`
	Created *time.Time        `description:"The time the placement group was created"`
	// contains filtered or unexported fields
}

func (*PlacementGroup) Properties added in v0.4.0

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

func (*PlacementGroup) Remove

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

func (*PlacementGroup) String

func (r *PlacementGroup) String() string

type PlacementGroupLister

type PlacementGroupLister struct{}

func (*PlacementGroupLister) List

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

type SSHKey

type SSHKey struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the sshkey"`
	Created *time.Time        `description:"The time the sshkey was created"`
	// contains filtered or unexported fields
}

func (*SSHKey) Properties added in v0.4.0

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

func (*SSHKey) Remove

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

func (*SSHKey) String

func (r *SSHKey) String() string

type SSHKeyLister

type SSHKeyLister struct{}

func (*SSHKeyLister) List

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

type Server

type Server struct {
	Name     *string
	ID       *int64
	Labels   map[string]string `description:"The labels associated with the server"`
	Created  *time.Time        `description:"The time the server was created"`
	Location *string           `description:"The location of the server"`
	// contains filtered or unexported fields
}

func (*Server) Properties added in v0.4.0

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 Snapshot

type Snapshot struct {
	Name    *string
	ID      *int64
	Labels  map[string]string `description:"The labels associated with the snapshots"`
	Created *time.Time        `description:"The time the snapshots was created"`
	// contains filtered or unexported fields
}

func (*Snapshot) Properties added in v0.4.0

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

func (*Snapshot) Remove

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

func (*Snapshot) String

func (r *Snapshot) String() string

type SnapshotLister

type SnapshotLister struct{}

func (*SnapshotLister) List

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

type Volume

type Volume struct {
	Name     *string
	ID       *int64
	Labels   map[string]string `description:"The labels associated with the volume"`
	Created  *time.Time        `description:"The time the volume was created"`
	Location *string           `description:"The location of the volume"`
	// contains filtered or unexported fields
}

func (*Volume) Properties added in v0.4.0

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