crd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CACRD      = "./config/crd/bases/ibp_v1alpha1_ibpca.yaml"
	PeerCRD    = "./config/crd/bases/ibp_v1alpha1_ibppeer.yaml"
	OrdererCRD = "./config/crd/bases/ibp_v1alpha1_ibporderer.yaml"
	ConsoleCRD = "./config/crd/bases/ibp_v1alpha1_ibpconsole.yaml"

	CACRDFile      = "ibp_v1alpha1_ibpca.yaml"
	PEERCRDFIle    = "ibp_v1alpha1_ibppeer.yaml"
	ORDERERCRDFILE = "ibp_v1alpha1_ibporderer.yaml"
	CONSOLECRDFILE = "ibp_v1alpha1_ibpconsole.yaml"
)

Variables

This section is empty.

Functions

func GetCRDList

func GetCRDList() []string

func GetCRDListFromDir

func GetCRDListFromDir(dir string) []string

Types

type Client

type Client interface {
	CreateCRD(crd *extv1.CustomResourceDefinition) (*extv1.CustomResourceDefinition, error)
}

type Manager

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

func NewManager

func NewManager(c Client, files ...string) (*Manager, error)

func (*Manager) Create

func (m *Manager) Create() error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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