organization

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNoResources added in v1.47.0

func IsNoResources(err error) bool

IsNoResources asserts noResourcesError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

Types

type Collection

type Collection struct {
	Items []Organization
}

func (*Collection) Object

func (c *Collection) Object() runtime.Object

type Config

type Config struct {
	Client *client.Client
}

type GetOptions

type GetOptions struct {
	Name string
}

type Interface

type Interface interface {
	Get(context.Context, GetOptions) (Resource, error)
}

type Organization

type Organization struct {
	Organization *securityv1alpha1.Organization
}

func (*Organization) Object

func (k *Organization) Object() runtime.Object

type Resource

type Resource interface {
	Object() runtime.Object
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Service, error)

func (*Service) Get

func (s *Service) Get(ctx context.Context, getOptions GetOptions) (Resource, error)

Jump to

Keyboard shortcuts

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