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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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