v1beta1

package
v1.5.4-rc2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: multishare.GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type FilestoreStatus

type FilestoreStatus string

FilestoreShareStatusType identifies a specific share status.

const (
	CREATING FilestoreStatus = "creating"
	READY    FilestoreStatus = "ready"
	UPDATING FilestoreStatus = "updating"
	DELETED  FilestoreStatus = "deleted"
)

These are valid conditions of a FilestoreShareStatus.

type InstanceInfo

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

	Spec InstanceInfoSpec `json:"spec"`
	// +optional
	Status *InstanceInfoStatus `json:"status"`
}

ShareInfo is a specification for a Foo resource

func (*InstanceInfo) DeepCopy

func (in *InstanceInfo) DeepCopy() *InstanceInfo

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

func (*InstanceInfo) DeepCopyInto

func (in *InstanceInfo) DeepCopyInto(out *InstanceInfo)

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

func (*InstanceInfo) DeepCopyObject

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

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

type InstanceInfoList

type InstanceInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []InstanceInfo `json:"items"`
}

ShareInfoList is a list of Foo resources

func (*InstanceInfoList) DeepCopy

func (in *InstanceInfoList) DeepCopy() *InstanceInfoList

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

func (*InstanceInfoList) DeepCopyInto

func (in *InstanceInfoList) DeepCopyInto(out *InstanceInfoList)

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

func (*InstanceInfoList) DeepCopyObject

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

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

type InstanceInfoSpec

type InstanceInfoSpec struct {
	CapacityBytes    int64  `json:"capacityBytes"`
	StorageClassName string `json:"storageClassName"`
}

ShareInfoSpec is the spec for a Foo resource

func (*InstanceInfoSpec) DeepCopy

func (in *InstanceInfoSpec) DeepCopy() *InstanceInfoSpec

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

func (*InstanceInfoSpec) DeepCopyInto

func (in *InstanceInfoSpec) DeepCopyInto(out *InstanceInfoSpec)

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

type InstanceInfoStatus

type InstanceInfoStatus struct {
	ShareNames         []string        `json:"shareNames"`
	CapacityBytes      int64           `json:"capacityBytes,omitempty"`
	InstanceStatus     FilestoreStatus `json:"instanceStatus,omitempty"`
	CapacityStepSizeGb int64           `json:"capacityStepSizeGb,omitempty"`
	Cidr               string          `json:"cidr"`
	Error              string          `json:"error"`
}

ShareInfoStatus is the status for a Foo resource

func (*InstanceInfoStatus) DeepCopy

func (in *InstanceInfoStatus) DeepCopy() *InstanceInfoStatus

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

func (*InstanceInfoStatus) DeepCopyInto

func (in *InstanceInfoStatus) DeepCopyInto(out *InstanceInfoStatus)

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

type ShareInfo

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

	Spec ShareInfoSpec `json:"spec"`
	// +optional
	Status *ShareInfoStatus `json:"status"`
}

ShareInfo is a specification for a Foo resource

func (*ShareInfo) DeepCopy

func (in *ShareInfo) DeepCopy() *ShareInfo

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

func (*ShareInfo) DeepCopyInto

func (in *ShareInfo) DeepCopyInto(out *ShareInfo)

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

func (*ShareInfo) DeepCopyObject

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

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

type ShareInfoList

type ShareInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ShareInfo `json:"items"`
}

ShareInfoList is a list of Foo resources

func (*ShareInfoList) DeepCopy

func (in *ShareInfoList) DeepCopy() *ShareInfoList

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

func (*ShareInfoList) DeepCopyInto

func (in *ShareInfoList) DeepCopyInto(out *ShareInfoList)

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

func (*ShareInfoList) DeepCopyObject

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

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

type ShareInfoSpec

type ShareInfoSpec struct {
	ShareName       string `json:"shareName"`
	CapacityBytes   int64  `json:"capacityBytes"`
	Region          string `json:"region"`
	InstancePoolTag string `json:"instancePoolTag"`
}

ShareInfoSpec is the spec for a Foo resource

func (*ShareInfoSpec) DeepCopy

func (in *ShareInfoSpec) DeepCopy() *ShareInfoSpec

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

func (*ShareInfoSpec) DeepCopyInto

func (in *ShareInfoSpec) DeepCopyInto(out *ShareInfoSpec)

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

type ShareInfoStatus

type ShareInfoStatus struct {
	InstanceHandle string          `json:"instanceHandle"`
	CapacityBytes  int64           `json:"capacityBytes,omitempty"`
	ShareStatus    FilestoreStatus `json:"shareStatus,omitempty"`
	Error          string          `json:"error"`
}

ShareInfoStatus is the status for a Foo resource

func (*ShareInfoStatus) DeepCopy

func (in *ShareInfoStatus) DeepCopy() *ShareInfoStatus

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

func (*ShareInfoStatus) DeepCopyInto

func (in *ShareInfoStatus) DeepCopyInto(out *ShareInfoStatus)

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

Jump to

Keyboard shortcuts

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