ibpoperator

package
v0.0.0-...-fdd9b93 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CRDGroup   string = "ibp.com"
	CRDVersion string = "v1beta1"
)

Variables

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

Functions

This section is empty.

Types

type Client

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

func New

func New(config *rest.Config) (*Client, error)

func (*Client) CreateCR

func (i *Client) CreateCR(namespace string, kind string, cr interface{}) error

func (*Client) DeleteCR

func (i *Client) DeleteCR(namespace string, kind string, name string) error

func (*Client) GetAllCR

func (i *Client) GetAllCR(namespace string, kind string, crList runtime.Object) error

func (*Client) GetCR

func (i *Client) GetCR(namespace string, kind string, name string, cr runtime.Object) error

func (*Client) PatchCR

func (i *Client) PatchCR(namespace string, kind string, name string, bytes []byte) error

func (*Client) UpdateCR

func (i *Client) UpdateCR(namespace string, kind string, name string, bytes []byte) error

type IBPClient

type IBPClient struct {
	rest.Interface
}

func NewIBPClient

func NewIBPClient(cfg *rest.Config) (*IBPClient, error)

Jump to

Keyboard shortcuts

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