Documentation ¶
Index ¶
- Constants
- func CreateCRD(clientset extClientset.Interface) error
- func GetInstallationName() string
- func NewResourceManager(kubectl kubectl.KubeCtl, coreClient kubernetes.Interface) *rm
- type Client
- func (c *Client) CreateCRDObject(manifest *v1alpha1.Manifest, backOffSettings wait.Backoff) (*v1alpha1.Manifest, error)
- func (c *Client) Install(manifest *v1alpha1.Manifest) error
- func (c *Client) LookupManifest(name string) (*v1alpha1.Manifest, error)
- func (c *Client) MaybeRelocate(manifest *v1alpha1.Manifest) error
- func (c *Client) PatchManifest(manifest *v1alpha1.Manifest) error
- func (c *Client) Uninstall(name string) error
- type ResourceManager
Constants ¶
View Source
const ( NODE_PORT_ENV_VAR = "NODE_PORT" CNAB_INSTALLATION_NAME_ENV_VAR = "CNAB_INSTALLATION_NAME" LABEL_KEY_NAME = "cnab-k8s-installer-installation-name" )
View Source
const NAME = "manifests"
Variables ¶
This section is empty.
Functions ¶
func CreateCRD ¶
func CreateCRD(clientset extClientset.Interface) error
func GetInstallationName ¶
func GetInstallationName() string
func NewResourceManager ¶
func NewResourceManager(kubectl kubectl.KubeCtl, coreClient kubernetes.Interface) *rm
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewKnbClient ¶
func (*Client) CreateCRDObject ¶
func (*Client) LookupManifest ¶
func (*Client) MaybeRelocate ¶
MaybeRelocate relocates the given manifest if a relocation mapping is present and otherwise does not modify the manifest.
type ResourceManager ¶
type ResourceManager interface { Install(resource v1alpha1.KabResource, backOffSettings wait.Backoff) error Check(resource v1alpha1.KabResource, backOffSettings wait.Backoff) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.