objects

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRole

type ClusterRole struct {
	*config.Configuration
	Log logr.Logger
}

func NewClusterRole

func NewClusterRole(cfg *config.Configuration) *ClusterRole

func (*ClusterRole) Apply

func (c *ClusterRole) Apply(ctx context.Context, manifest string) error

func (*ClusterRole) Delete

func (c *ClusterRole) Delete(ctx context.Context, manifest string) error

type ClusterRoleBinding

type ClusterRoleBinding struct {
	*config.Configuration
	Log logr.Logger
}

func NewClusterRoleBinding

func NewClusterRoleBinding(cfg *config.Configuration) *ClusterRoleBinding

func (*ClusterRoleBinding) Apply

func (r *ClusterRoleBinding) Apply(ctx context.Context, manifest string) error

func (*ClusterRoleBinding) Delete

func (r *ClusterRoleBinding) Delete(ctx context.Context, manifest string) error

type ConfigMap

type ConfigMap struct {
	*config.Configuration
	Log logr.Logger
}

func NewConfigMap

func NewConfigMap(cfg *config.Configuration) *ConfigMap

func (*ConfigMap) Apply

func (c *ConfigMap) Apply(ctx context.Context, manifest string) error

func (*ConfigMap) Delete

func (c *ConfigMap) Delete(ctx context.Context, manifest string) error

type Crd

type Crd struct {
	*config.Configuration
	Log logr.Logger
}

func NewCrd

func NewCrd(cfg *config.Configuration) *Crd

func (*Crd) Apply

func (c *Crd) Apply(ctx context.Context, manifest string) error

func (*Crd) Delete

func (c *Crd) Delete(ctx context.Context, manifest string) error

func (*Crd) Get added in v1.5.0

func (c *Crd) Get(ctx context.Context, name string) (*ext.CustomResourceDefinition, error)

func (*Crd) GetBeta1 added in v1.5.0

func (c *Crd) GetBeta1(ctx context.Context, name string) (*extbeta1.CustomResourceDefinition, error)

func (*Crd) GetBeta1Versions added in v1.5.0

func (c *Crd) GetBeta1Versions(ctx context.Context, name string) (map[string]string, error)

func (*Crd) GetV1Versions added in v1.5.0

func (c *Crd) GetV1Versions(ctx context.Context, name string) (map[string]string, error)

type Deployment

type Deployment struct {
	*config.Configuration
	Log logr.Logger
}

func NewDeployment

func NewDeployment(cfg *config.Configuration) *Deployment

func (*Deployment) Apply

func (d *Deployment) Apply(ctx context.Context, manifest string) error

func (*Deployment) Delete

func (d *Deployment) Delete(ctx context.Context, manifest string) error

type Namespace

type Namespace struct {
	*config.Configuration
	Log logr.Logger
}

func NewNamespace

func NewNamespace(cfg *config.Configuration) *Namespace

func (*Namespace) Apply

func (n *Namespace) Apply(ctx context.Context, manifest string) error

func (*Namespace) Delete

func (n *Namespace) Delete(ctx context.Context, manifest string) error

type Role

type Role struct {
	*config.Configuration
	Log logr.Logger
}

func NewRole

func NewRole(cfg *config.Configuration) *Role

func (*Role) Apply

func (r *Role) Apply(ctx context.Context, manifest string) error

func (*Role) Delete

func (r *Role) Delete(ctx context.Context, manifest string) error

type RoleBinding

type RoleBinding struct {
	*config.Configuration
	Log logr.Logger
}

func NewRoleBinding

func NewRoleBinding(cfg *config.Configuration) *RoleBinding

func (*RoleBinding) Apply

func (r *RoleBinding) Apply(ctx context.Context, manifest string) error

func (*RoleBinding) Delete

func (r *RoleBinding) Delete(ctx context.Context, manifest string) error

type Service

type Service struct {
	*config.Configuration
	Log logr.Logger
}

func NewService

func NewService(cfg *config.Configuration) *Service

func (*Service) Apply

func (s *Service) Apply(ctx context.Context, manifest string) error

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, manifest string) error

type ServiceAccount

type ServiceAccount struct {
	*config.Configuration
	Log logr.Logger
}

func NewServiceAccount

func NewServiceAccount(cfg *config.Configuration) *ServiceAccount

func (*ServiceAccount) Apply

func (s *ServiceAccount) Apply(ctx context.Context, manifest string) error

func (*ServiceAccount) Delete

func (s *ServiceAccount) Delete(ctx context.Context, manifest string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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