kev1alpha

package
v0.0.0-...-908e76c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MachineType_name = map[int32]string{
		0: "MACHINE_TYPE_UNSPECIFIED",
		1: "MACHINE_TYPE_STANDARD",
		2: "MACHINE_TYPE_HIGHMEM",
		3: "MACHINE_TYPE_HIGHCPU",
	}
	MachineType_value = map[string]int32{
		"MACHINE_TYPE_UNSPECIFIED": 0,
		"MACHINE_TYPE_STANDARD":    1,
		"MACHINE_TYPE_HIGHMEM":     2,
		"MACHINE_TYPE_HIGHCPU":     3,
	}
)

Enum value maps for MachineType.

View Source
var File_api_ke_v1alpha_ke_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cluster

type Cluster struct {

	// The name of the cluster. This is used to identify the cluster in the API.
	// This is a read-only property.
	// The format is `projects/{project_id}/clusters/{cluster_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The display name of the cluster. This is used only for display purposes.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The number of worker nodes in the cluster.
	// If unspecified during cluster creation, the default value is 3.
	NumNodes int32 `protobuf:"varint,3,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"`
	// The type of machine.
	MachineType MachineType `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetDisplayName

func (x *Cluster) GetDisplayName() string

func (*Cluster) GetMachineType

func (x *Cluster) GetMachineType() MachineType

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNumNodes

func (x *Cluster) GetNumNodes() int32

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

type CreateClusterRequest

type CreateClusterRequest struct {
	Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterRequest) Descriptor deprecated

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

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterRequest) Descriptor deprecated

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

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetName

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type GetClusterRequest

type GetClusterRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterRequest) Descriptor deprecated

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

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetName

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type ListClusterRequest

type ListClusterRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterRequest) Descriptor deprecated

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

Deprecated: Use ListClusterRequest.ProtoReflect.Descriptor instead.

func (*ListClusterRequest) GetPageSize

func (x *ListClusterRequest) GetPageSize() int32

func (*ListClusterRequest) GetPageToken

func (x *ListClusterRequest) GetPageToken() string

func (*ListClusterRequest) ProtoMessage

func (*ListClusterRequest) ProtoMessage()

func (*ListClusterRequest) ProtoReflect

func (x *ListClusterRequest) ProtoReflect() protoreflect.Message

func (*ListClusterRequest) Reset

func (x *ListClusterRequest) Reset()

func (*ListClusterRequest) String

func (x *ListClusterRequest) String() string

type ListClusterResponse

type ListClusterResponse struct {
	Clusters      []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	NextPageToken string     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterResponse) Descriptor deprecated

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

Deprecated: Use ListClusterResponse.ProtoReflect.Descriptor instead.

func (*ListClusterResponse) GetClusters

func (x *ListClusterResponse) GetClusters() []*Cluster

func (*ListClusterResponse) GetNextPageToken

func (x *ListClusterResponse) GetNextPageToken() string

func (*ListClusterResponse) ProtoMessage

func (*ListClusterResponse) ProtoMessage()

func (*ListClusterResponse) ProtoReflect

func (x *ListClusterResponse) ProtoReflect() protoreflect.Message

func (*ListClusterResponse) Reset

func (x *ListClusterResponse) Reset()

func (*ListClusterResponse) String

func (x *ListClusterResponse) String() string

type MachineType

type MachineType int32

MachineType is a type of machine.

const (
	MachineType_MACHINE_TYPE_UNSPECIFIED MachineType = 0
	MachineType_MACHINE_TYPE_STANDARD    MachineType = 1
	MachineType_MACHINE_TYPE_HIGHMEM     MachineType = 2
	MachineType_MACHINE_TYPE_HIGHCPU     MachineType = 3
)

func (MachineType) Descriptor

func (MachineType) Enum

func (x MachineType) Enum() *MachineType

func (MachineType) EnumDescriptor deprecated

func (MachineType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MachineType.Descriptor instead.

func (MachineType) Number

func (x MachineType) Number() protoreflect.EnumNumber

func (MachineType) String

func (x MachineType) String() string

func (MachineType) Type

type UpdateClusterRequest

type UpdateClusterRequest struct {
	Cluster    *Cluster               `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetCluster

func (x *UpdateClusterRequest) GetCluster() *Cluster

func (*UpdateClusterRequest) GetUpdateMask

func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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