...

Package v1

import "github.com/openshift/api/cloudnetwork/v1"
Overview
Index

Overview ▾

Package v1 contains API Schema definitions for the cloud network v1 API group +k8s:deepcopy-gen=package,register +groupName=cloud.network.openshift.io +kubebuilder:validation:Optional

Index ▾

Variables
func Resource(resource string) schema.GroupResource
type CloudPrivateIPConfig
    func (in *CloudPrivateIPConfig) DeepCopy() *CloudPrivateIPConfig
    func (in *CloudPrivateIPConfig) DeepCopyInto(out *CloudPrivateIPConfig)
    func (in *CloudPrivateIPConfig) DeepCopyObject() runtime.Object
    func (*CloudPrivateIPConfig) Descriptor() ([]byte, []int)
    func (m *CloudPrivateIPConfig) Marshal() (dAtA []byte, err error)
    func (m *CloudPrivateIPConfig) MarshalTo(dAtA []byte) (int, error)
    func (m *CloudPrivateIPConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
    func (*CloudPrivateIPConfig) ProtoMessage()
    func (m *CloudPrivateIPConfig) Reset()
    func (m *CloudPrivateIPConfig) Size() (n int)
    func (this *CloudPrivateIPConfig) String() string
    func (CloudPrivateIPConfig) SwaggerDoc() map[string]string
    func (m *CloudPrivateIPConfig) Unmarshal(dAtA []byte) error
    func (m *CloudPrivateIPConfig) XXX_DiscardUnknown()
    func (m *CloudPrivateIPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *CloudPrivateIPConfig) XXX_Merge(src proto.Message)
    func (m *CloudPrivateIPConfig) XXX_Size() int
    func (m *CloudPrivateIPConfig) XXX_Unmarshal(b []byte) error
type CloudPrivateIPConfigConditionType
type CloudPrivateIPConfigList
    func (in *CloudPrivateIPConfigList) DeepCopy() *CloudPrivateIPConfigList
    func (in *CloudPrivateIPConfigList) DeepCopyInto(out *CloudPrivateIPConfigList)
    func (in *CloudPrivateIPConfigList) DeepCopyObject() runtime.Object
    func (*CloudPrivateIPConfigList) Descriptor() ([]byte, []int)
    func (m *CloudPrivateIPConfigList) Marshal() (dAtA []byte, err error)
    func (m *CloudPrivateIPConfigList) MarshalTo(dAtA []byte) (int, error)
    func (m *CloudPrivateIPConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)
    func (*CloudPrivateIPConfigList) ProtoMessage()
    func (m *CloudPrivateIPConfigList) Reset()
    func (m *CloudPrivateIPConfigList) Size() (n int)
    func (this *CloudPrivateIPConfigList) String() string
    func (CloudPrivateIPConfigList) SwaggerDoc() map[string]string
    func (m *CloudPrivateIPConfigList) Unmarshal(dAtA []byte) error
    func (m *CloudPrivateIPConfigList) XXX_DiscardUnknown()
    func (m *CloudPrivateIPConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *CloudPrivateIPConfigList) XXX_Merge(src proto.Message)
    func (m *CloudPrivateIPConfigList) XXX_Size() int
    func (m *CloudPrivateIPConfigList) XXX_Unmarshal(b []byte) error
type CloudPrivateIPConfigSpec
    func (in *CloudPrivateIPConfigSpec) DeepCopy() *CloudPrivateIPConfigSpec
    func (in *CloudPrivateIPConfigSpec) DeepCopyInto(out *CloudPrivateIPConfigSpec)
    func (*CloudPrivateIPConfigSpec) Descriptor() ([]byte, []int)
    func (m *CloudPrivateIPConfigSpec) Marshal() (dAtA []byte, err error)
    func (m *CloudPrivateIPConfigSpec) MarshalTo(dAtA []byte) (int, error)
    func (m *CloudPrivateIPConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
    func (*CloudPrivateIPConfigSpec) ProtoMessage()
    func (m *CloudPrivateIPConfigSpec) Reset()
    func (m *CloudPrivateIPConfigSpec) Size() (n int)
    func (this *CloudPrivateIPConfigSpec) String() string
    func (CloudPrivateIPConfigSpec) SwaggerDoc() map[string]string
    func (m *CloudPrivateIPConfigSpec) Unmarshal(dAtA []byte) error
    func (m *CloudPrivateIPConfigSpec) XXX_DiscardUnknown()
    func (m *CloudPrivateIPConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *CloudPrivateIPConfigSpec) XXX_Merge(src proto.Message)
    func (m *CloudPrivateIPConfigSpec) XXX_Size() int
    func (m *CloudPrivateIPConfigSpec) XXX_Unmarshal(b []byte) error
type CloudPrivateIPConfigStatus
    func (in *CloudPrivateIPConfigStatus) DeepCopy() *CloudPrivateIPConfigStatus
    func (in *CloudPrivateIPConfigStatus) DeepCopyInto(out *CloudPrivateIPConfigStatus)
    func (*CloudPrivateIPConfigStatus) Descriptor() ([]byte, []int)
    func (m *CloudPrivateIPConfigStatus) Marshal() (dAtA []byte, err error)
    func (m *CloudPrivateIPConfigStatus) MarshalTo(dAtA []byte) (int, error)
    func (m *CloudPrivateIPConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
    func (*CloudPrivateIPConfigStatus) ProtoMessage()
    func (m *CloudPrivateIPConfigStatus) Reset()
    func (m *CloudPrivateIPConfigStatus) Size() (n int)
    func (this *CloudPrivateIPConfigStatus) String() string
    func (CloudPrivateIPConfigStatus) SwaggerDoc() map[string]string
    func (m *CloudPrivateIPConfigStatus) Unmarshal(dAtA []byte) error
    func (m *CloudPrivateIPConfigStatus) XXX_DiscardUnknown()
    func (m *CloudPrivateIPConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *CloudPrivateIPConfigStatus) XXX_Merge(src proto.Message)
    func (m *CloudPrivateIPConfigStatus) XXX_Size() int
    func (m *CloudPrivateIPConfigStatus) XXX_Unmarshal(b []byte) error

Package files

doc.go generated.pb.go register.go types.go zz_generated.deepcopy.go zz_generated.swagger_doc_generated.go

Variables

var (
    ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
var (
    GroupName     = "cloud.network.openshift.io"
    GroupVersion  = schema.GroupVersion{Group: GroupName, Version: "v1"}
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    // Install is a function which adds this version to a scheme
    Install = SchemeBuilder.AddToScheme

    // SchemeGroupVersion generated code relies on this name
    // Deprecated
    SchemeGroupVersion = GroupVersion
    // AddToScheme exists solely to keep the old generators creating valid code
    // DEPRECATED
    AddToScheme = SchemeBuilder.AddToScheme
)

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type CloudPrivateIPConfig

CloudPrivateIPConfig performs an assignment of a private IP address to the primary NIC associated with cloud VMs. This is done by specifying the IP and Kubernetes node which the IP should be assigned to. This CRD is intended to be used by the network plugin which manages the cluster network. The spec side represents the desired state requested by the network plugin, and the status side represents the current state that this CRD's controller has executed. No users will have permission to modify it, and if a cluster-admin decides to edit it for some reason, their changes will be overwritten the next time the network plugin reconciles the object. Note: the CR's name must specify the requested private IP address (can be IPv4 or IPv6).

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=cloudprivateipconfigs,scope=Cluster +openshift:compatibility-gen:level=1

type CloudPrivateIPConfig struct {
    metav1.TypeMeta `json:",inline"`

    // metadata is the standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    // spec is the definition of the desired private IP request.
    // +kubebuilder:validation:Required
    // +required
    Spec CloudPrivateIPConfigSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
    // status is the observed status of the desired private IP request. Read-only.
    // +kubebuilder:validation:Optional
    // +optional
    Status CloudPrivateIPConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

func (*CloudPrivateIPConfig) DeepCopy

func (in *CloudPrivateIPConfig) DeepCopy() *CloudPrivateIPConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudPrivateIPConfig.

func (*CloudPrivateIPConfig) DeepCopyInto

func (in *CloudPrivateIPConfig) DeepCopyInto(out *CloudPrivateIPConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudPrivateIPConfig) DeepCopyObject

func (in *CloudPrivateIPConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CloudPrivateIPConfig) Descriptor

func (*CloudPrivateIPConfig) Descriptor() ([]byte, []int)

func (*CloudPrivateIPConfig) Marshal

func (m *CloudPrivateIPConfig) Marshal() (dAtA []byte, err error)

func (*CloudPrivateIPConfig) MarshalTo

func (m *CloudPrivateIPConfig) MarshalTo(dAtA []byte) (int, error)

func (*CloudPrivateIPConfig) MarshalToSizedBuffer

func (m *CloudPrivateIPConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudPrivateIPConfig) ProtoMessage

func (*CloudPrivateIPConfig) ProtoMessage()

func (*CloudPrivateIPConfig) Reset

func (m *CloudPrivateIPConfig) Reset()

func (*CloudPrivateIPConfig) Size

func (m *CloudPrivateIPConfig) Size() (n int)

func (*CloudPrivateIPConfig) String

func (this *CloudPrivateIPConfig) String() string

func (CloudPrivateIPConfig) SwaggerDoc

func (CloudPrivateIPConfig) SwaggerDoc() map[string]string

func (*CloudPrivateIPConfig) Unmarshal

func (m *CloudPrivateIPConfig) Unmarshal(dAtA []byte) error

func (*CloudPrivateIPConfig) XXX_DiscardUnknown

func (m *CloudPrivateIPConfig) XXX_DiscardUnknown()

func (*CloudPrivateIPConfig) XXX_Marshal

func (m *CloudPrivateIPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudPrivateIPConfig) XXX_Merge

func (m *CloudPrivateIPConfig) XXX_Merge(src proto.Message)

func (*CloudPrivateIPConfig) XXX_Size

func (m *CloudPrivateIPConfig) XXX_Size() int

func (*CloudPrivateIPConfig) XXX_Unmarshal

func (m *CloudPrivateIPConfig) XXX_Unmarshal(b []byte) error

type CloudPrivateIPConfigConditionType

CloudPrivateIPConfigConditionType specifies the current condition type of the CloudPrivateIPConfig

type CloudPrivateIPConfigConditionType string
const (
    // Assigned is the condition type of the cloud private IP request.
    // It is paired with the following ConditionStatus:
    // - True - in the case of a successful assignment
    // - False - in the case of a failed assignment
    // - Unknown - in the case of a pending assignment
    Assigned CloudPrivateIPConfigConditionType = "Assigned"
)

type CloudPrivateIPConfigList

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resource:path=cloudprivateipconfig CloudPrivateIPConfigList is the list of CloudPrivateIPConfigList. +openshift:compatibility-gen:level=1

type CloudPrivateIPConfigList struct {
    metav1.TypeMeta `json:",inline"`

    // metadata is the standard list's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // List of CloudPrivateIPConfig.
    Items []CloudPrivateIPConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*CloudPrivateIPConfigList) DeepCopy

func (in *CloudPrivateIPConfigList) DeepCopy() *CloudPrivateIPConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudPrivateIPConfigList.

func (*CloudPrivateIPConfigList) DeepCopyInto

func (in *CloudPrivateIPConfigList) DeepCopyInto(out *CloudPrivateIPConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudPrivateIPConfigList) DeepCopyObject

func (in *CloudPrivateIPConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CloudPrivateIPConfigList) Descriptor

func (*CloudPrivateIPConfigList) Descriptor() ([]byte, []int)

func (*CloudPrivateIPConfigList) Marshal

func (m *CloudPrivateIPConfigList) Marshal() (dAtA []byte, err error)

func (*CloudPrivateIPConfigList) MarshalTo

func (m *CloudPrivateIPConfigList) MarshalTo(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigList) MarshalToSizedBuffer

func (m *CloudPrivateIPConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigList) ProtoMessage

func (*CloudPrivateIPConfigList) ProtoMessage()

func (*CloudPrivateIPConfigList) Reset

func (m *CloudPrivateIPConfigList) Reset()

func (*CloudPrivateIPConfigList) Size

func (m *CloudPrivateIPConfigList) Size() (n int)

func (*CloudPrivateIPConfigList) String

func (this *CloudPrivateIPConfigList) String() string

func (CloudPrivateIPConfigList) SwaggerDoc

func (CloudPrivateIPConfigList) SwaggerDoc() map[string]string

func (*CloudPrivateIPConfigList) Unmarshal

func (m *CloudPrivateIPConfigList) Unmarshal(dAtA []byte) error

func (*CloudPrivateIPConfigList) XXX_DiscardUnknown

func (m *CloudPrivateIPConfigList) XXX_DiscardUnknown()

func (*CloudPrivateIPConfigList) XXX_Marshal

func (m *CloudPrivateIPConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudPrivateIPConfigList) XXX_Merge

func (m *CloudPrivateIPConfigList) XXX_Merge(src proto.Message)

func (*CloudPrivateIPConfigList) XXX_Size

func (m *CloudPrivateIPConfigList) XXX_Size() int

func (*CloudPrivateIPConfigList) XXX_Unmarshal

func (m *CloudPrivateIPConfigList) XXX_Unmarshal(b []byte) error

type CloudPrivateIPConfigSpec

CloudPrivateIPConfigSpec consists of a node name which the private IP should be assigned to. +k8s:openapi-gen=true

type CloudPrivateIPConfigSpec struct {
    // node is the node name, as specified by the Kubernetes field: node.metadata.name
    // +kubebuilder:validation:Optional
    // +optional
    Node string `json:"node" protobuf:"bytes,1,opt,name=node"`
}

func (*CloudPrivateIPConfigSpec) DeepCopy

func (in *CloudPrivateIPConfigSpec) DeepCopy() *CloudPrivateIPConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudPrivateIPConfigSpec.

func (*CloudPrivateIPConfigSpec) DeepCopyInto

func (in *CloudPrivateIPConfigSpec) DeepCopyInto(out *CloudPrivateIPConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudPrivateIPConfigSpec) Descriptor

func (*CloudPrivateIPConfigSpec) Descriptor() ([]byte, []int)

func (*CloudPrivateIPConfigSpec) Marshal

func (m *CloudPrivateIPConfigSpec) Marshal() (dAtA []byte, err error)

func (*CloudPrivateIPConfigSpec) MarshalTo

func (m *CloudPrivateIPConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigSpec) MarshalToSizedBuffer

func (m *CloudPrivateIPConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigSpec) ProtoMessage

func (*CloudPrivateIPConfigSpec) ProtoMessage()

func (*CloudPrivateIPConfigSpec) Reset

func (m *CloudPrivateIPConfigSpec) Reset()

func (*CloudPrivateIPConfigSpec) Size

func (m *CloudPrivateIPConfigSpec) Size() (n int)

func (*CloudPrivateIPConfigSpec) String

func (this *CloudPrivateIPConfigSpec) String() string

func (CloudPrivateIPConfigSpec) SwaggerDoc

func (CloudPrivateIPConfigSpec) SwaggerDoc() map[string]string

func (*CloudPrivateIPConfigSpec) Unmarshal

func (m *CloudPrivateIPConfigSpec) Unmarshal(dAtA []byte) error

func (*CloudPrivateIPConfigSpec) XXX_DiscardUnknown

func (m *CloudPrivateIPConfigSpec) XXX_DiscardUnknown()

func (*CloudPrivateIPConfigSpec) XXX_Marshal

func (m *CloudPrivateIPConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudPrivateIPConfigSpec) XXX_Merge

func (m *CloudPrivateIPConfigSpec) XXX_Merge(src proto.Message)

func (*CloudPrivateIPConfigSpec) XXX_Size

func (m *CloudPrivateIPConfigSpec) XXX_Size() int

func (*CloudPrivateIPConfigSpec) XXX_Unmarshal

func (m *CloudPrivateIPConfigSpec) XXX_Unmarshal(b []byte) error

type CloudPrivateIPConfigStatus

CloudPrivateIPConfigStatus specifies the node assignment together with its assignment condition. +k8s:openapi-gen=true

type CloudPrivateIPConfigStatus struct {
    // node is the node name, as specified by the Kubernetes field: node.metadata.name
    // +kubebuilder:validation:Optional
    // +optional
    Node string `json:"node" protobuf:"bytes,1,opt,name=node"`
    // condition is the assignment condition of the private IP and its status
    // +kubebuilder:validation:Required
    // +required
    Conditions []metav1.Condition `json:"conditions" protobuf:"bytes,2,rep,name=conditions"`
}

func (*CloudPrivateIPConfigStatus) DeepCopy

func (in *CloudPrivateIPConfigStatus) DeepCopy() *CloudPrivateIPConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudPrivateIPConfigStatus.

func (*CloudPrivateIPConfigStatus) DeepCopyInto

func (in *CloudPrivateIPConfigStatus) DeepCopyInto(out *CloudPrivateIPConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudPrivateIPConfigStatus) Descriptor

func (*CloudPrivateIPConfigStatus) Descriptor() ([]byte, []int)

func (*CloudPrivateIPConfigStatus) Marshal

func (m *CloudPrivateIPConfigStatus) Marshal() (dAtA []byte, err error)

func (*CloudPrivateIPConfigStatus) MarshalTo

func (m *CloudPrivateIPConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigStatus) MarshalToSizedBuffer

func (m *CloudPrivateIPConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudPrivateIPConfigStatus) ProtoMessage

func (*CloudPrivateIPConfigStatus) ProtoMessage()

func (*CloudPrivateIPConfigStatus) Reset

func (m *CloudPrivateIPConfigStatus) Reset()

func (*CloudPrivateIPConfigStatus) Size

func (m *CloudPrivateIPConfigStatus) Size() (n int)

func (*CloudPrivateIPConfigStatus) String

func (this *CloudPrivateIPConfigStatus) String() string

func (CloudPrivateIPConfigStatus) SwaggerDoc

func (CloudPrivateIPConfigStatus) SwaggerDoc() map[string]string

func (*CloudPrivateIPConfigStatus) Unmarshal

func (m *CloudPrivateIPConfigStatus) Unmarshal(dAtA []byte) error

func (*CloudPrivateIPConfigStatus) XXX_DiscardUnknown

func (m *CloudPrivateIPConfigStatus) XXX_DiscardUnknown()

func (*CloudPrivateIPConfigStatus) XXX_Marshal

func (m *CloudPrivateIPConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudPrivateIPConfigStatus) XXX_Merge

func (m *CloudPrivateIPConfigStatus) XXX_Merge(src proto.Message)

func (*CloudPrivateIPConfigStatus) XXX_Size

func (m *CloudPrivateIPConfigStatus) XXX_Size() int

func (*CloudPrivateIPConfigStatus) XXX_Unmarshal

func (m *CloudPrivateIPConfigStatus) XXX_Unmarshal(b []byte) error