cnrm

package
v0.0.0-...-d10fae5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cnrm contains API Schema definitions for the CNRM API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

func NewComputeNetwork

func NewComputeNetwork() *unstructured.Unstructured

func NewComputeNetworkList

func NewComputeNetworkList() *unstructured.UnstructuredList

func NewComputeNetworkSource

func NewComputeNetworkSource() source.Source

func NewComputeSubnetwork

func NewComputeSubnetwork() *unstructured.Unstructured

func NewComputeSubnetworkList

func NewComputeSubnetworkList() *unstructured.UnstructuredList

func NewComputeSubnetworkSource

func NewComputeSubnetworkSource() source.Source

func NewContainerCluster

func NewContainerCluster() *unstructured.Unstructured

func NewContainerClusterList

func NewContainerClusterList() *unstructured.UnstructuredList

func NewContainerClusterSource

func NewContainerClusterSource() source.Source

func NewContainerNodePool

func NewContainerNodePool() *unstructured.Unstructured

func NewContainerNodePoolList

func NewContainerNodePoolList() *unstructured.UnstructuredList

func NewContainerNodePoolSource

func NewContainerNodePoolSource() source.Source

func NewIAMPolicyMember

func NewIAMPolicyMember() *unstructured.Unstructured

func NewIAMPolicyMemberList

func NewIAMPolicyMemberList() *unstructured.UnstructuredList

func NewIAMPolicyMemberSource

func NewIAMPolicyMemberSource() source.Source

func NewIAMServiceAccount

func NewIAMServiceAccount() *unstructured.Unstructured

func NewIAMServiceAccountList

func NewIAMServiceAccountList() *unstructured.UnstructuredList

func NewIAMServiceAccountSource

func NewIAMServiceAccountSource() source.Source

Types

type PartialContainerCluster

type PartialContainerCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec struct {
		Location   string `json:"location"`
		MasterAuth struct {
			ClusterCACertificate string `json:"clusterCaCertificate"`
			ClientKey            string `json:"clientKey"`
			ClientCertificate    string `json:"clientCertificate"`
		} `json:"masterAuth"`
	} `json:"spec,omitempty"`

	Status struct {
		Endpoint string `json:"endpoint"`
	} `json:"status,omitempty"`
}

func ParsePartialContainerCluster

func ParsePartialContainerCluster(obj *unstructured.Unstructured) (*PartialContainerCluster, error)

type PartialStatus

type PartialStatus struct {
	Conditions clustersv1alpha2.CommonConditions `json:"conditions,omitempty"`
}

func ParsePartialStatus

func ParsePartialStatus(obj *unstructured.Unstructured) (*PartialStatus, error)

func (*PartialStatus) HasReadyCondition

func (c *PartialStatus) HasReadyCondition() bool

Jump to

Keyboard shortcuts

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