deploymentsv1

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeploymentState_name = map[int32]string{
		0: "DEPLOYMENT_STATE_UNSPECIFIED",
		1: "DEPLOYMENT_STATE_ACTIVE",
		2: "DEPLOYMENT_STATE_TESTING",
		3: "DEPLOYMENT_STATE_DRAINING",
		4: "DEPLOYMENT_STATE_INACTIVE",
	}
	DeploymentState_value = map[string]int32{
		"DEPLOYMENT_STATE_UNSPECIFIED": 0,
		"DEPLOYMENT_STATE_ACTIVE":      1,
		"DEPLOYMENT_STATE_TESTING":     2,
		"DEPLOYMENT_STATE_DRAINING":    3,
		"DEPLOYMENT_STATE_INACTIVE":    4,
	}
)

Enum value maps for DeploymentState.

View Source
var File_autokitteh_deployments_v1_deployment_proto protoreflect.FileDescriptor
View Source
var File_autokitteh_deployments_v1_svc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActivateRequest

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

func (*ActivateRequest) Descriptor deprecated

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

Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.

func (*ActivateRequest) GetDeploymentId

func (x *ActivateRequest) GetDeploymentId() string

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) ProtoReflect

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

func (*ActivateRequest) Reset

func (x *ActivateRequest) Reset()

func (*ActivateRequest) String

func (x *ActivateRequest) String() string

type ActivateResponse

type ActivateResponse struct {
	// contains filtered or unexported fields
}

func (*ActivateResponse) Descriptor deprecated

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

Deprecated: Use ActivateResponse.ProtoReflect.Descriptor instead.

func (*ActivateResponse) ProtoMessage

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) ProtoReflect

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

func (*ActivateResponse) Reset

func (x *ActivateResponse) Reset()

func (*ActivateResponse) String

func (x *ActivateResponse) String() string

type CreateRequest

type CreateRequest struct {

	// deployment.state must be 0 or inactive.
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetDeployment

func (x *CreateRequest) GetDeployment() *Deployment

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

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

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetDeploymentId

func (x *CreateResponse) GetDeploymentId() string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DeactivateRequest

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

func (*DeactivateRequest) Descriptor deprecated

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

Deprecated: Use DeactivateRequest.ProtoReflect.Descriptor instead.

func (*DeactivateRequest) GetDeploymentId

func (x *DeactivateRequest) GetDeploymentId() string

func (*DeactivateRequest) ProtoMessage

func (*DeactivateRequest) ProtoMessage()

func (*DeactivateRequest) ProtoReflect

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

func (*DeactivateRequest) Reset

func (x *DeactivateRequest) Reset()

func (*DeactivateRequest) String

func (x *DeactivateRequest) String() string

type DeactivateResponse

type DeactivateResponse struct {
	// contains filtered or unexported fields
}

func (*DeactivateResponse) Descriptor deprecated

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

Deprecated: Use DeactivateResponse.ProtoReflect.Descriptor instead.

func (*DeactivateResponse) ProtoMessage

func (*DeactivateResponse) ProtoMessage()

func (*DeactivateResponse) ProtoReflect

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

func (*DeactivateResponse) Reset

func (x *DeactivateResponse) Reset()

func (*DeactivateResponse) String

func (x *DeactivateResponse) String() string

type DeleteRequest added in v0.3.0

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

func (*DeleteRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetDeploymentId added in v0.3.0

func (x *DeleteRequest) GetDeploymentId() string

func (*DeleteRequest) ProtoMessage added in v0.3.0

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect added in v0.3.0

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

func (*DeleteRequest) Reset added in v0.3.0

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String added in v0.3.0

func (x *DeleteRequest) String() string

type DeleteResponse added in v0.3.0

type DeleteResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage added in v0.3.0

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect added in v0.3.0

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

func (*DeleteResponse) Reset added in v0.3.0

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String added in v0.3.0

func (x *DeleteResponse) String() string

type Deployment

type Deployment struct {

	// immutable fields.
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	EnvId        string `protobuf:"bytes,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	BuildId      string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// mutable fields.
	State         DeploymentState            `protobuf:"varint,4,opt,name=state,proto3,enum=autokitteh.deployments.v1.DeploymentState" json:"state,omitempty"`
	CreatedAt     *timestamppb.Timestamp     `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp     `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	SessionsStats []*Deployment_SessionStats `protobuf:"bytes,12,rep,name=sessions_stats,json=sessionsStats,proto3" json:"sessions_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetBuildId

func (x *Deployment) GetBuildId() string

func (*Deployment) GetCreatedAt

func (x *Deployment) GetCreatedAt() *timestamppb.Timestamp

func (*Deployment) GetDeploymentId

func (x *Deployment) GetDeploymentId() string

func (*Deployment) GetEnvId

func (x *Deployment) GetEnvId() string

func (*Deployment) GetSessionsStats

func (x *Deployment) GetSessionsStats() []*Deployment_SessionStats

func (*Deployment) GetState

func (x *Deployment) GetState() DeploymentState

func (*Deployment) GetUpdatedAt

func (x *Deployment) GetUpdatedAt() *timestamppb.Timestamp

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type DeploymentState

type DeploymentState int32
const (
	DeploymentState_DEPLOYMENT_STATE_UNSPECIFIED DeploymentState = 0
	DeploymentState_DEPLOYMENT_STATE_ACTIVE      DeploymentState = 1
	DeploymentState_DEPLOYMENT_STATE_TESTING     DeploymentState = 2
	DeploymentState_DEPLOYMENT_STATE_DRAINING    DeploymentState = 3
	DeploymentState_DEPLOYMENT_STATE_INACTIVE    DeploymentState = 4
)

func (DeploymentState) Descriptor

func (DeploymentState) Enum

func (x DeploymentState) Enum() *DeploymentState

func (DeploymentState) EnumDescriptor deprecated

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

Deprecated: Use DeploymentState.Descriptor instead.

func (DeploymentState) Number

func (DeploymentState) String

func (x DeploymentState) String() string

func (DeploymentState) Type

type Deployment_SessionStats

type Deployment_SessionStats struct {
	State v1.SessionStateType `protobuf:"varint,1,opt,name=state,proto3,enum=autokitteh.sessions.v1.SessionStateType" json:"state,omitempty"`
	Count uint32              `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment_SessionStats) Descriptor deprecated

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

Deprecated: Use Deployment_SessionStats.ProtoReflect.Descriptor instead.

func (*Deployment_SessionStats) GetCount

func (x *Deployment_SessionStats) GetCount() uint32

func (*Deployment_SessionStats) GetState

func (*Deployment_SessionStats) ProtoMessage

func (*Deployment_SessionStats) ProtoMessage()

func (*Deployment_SessionStats) ProtoReflect

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

func (*Deployment_SessionStats) Reset

func (x *Deployment_SessionStats) Reset()

func (*Deployment_SessionStats) String

func (x *Deployment_SessionStats) String() string

type DrainRequest

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

func (*DrainRequest) Descriptor deprecated

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

Deprecated: Use DrainRequest.ProtoReflect.Descriptor instead.

func (*DrainRequest) GetDeploymentId

func (x *DrainRequest) GetDeploymentId() string

func (*DrainRequest) ProtoMessage

func (*DrainRequest) ProtoMessage()

func (*DrainRequest) ProtoReflect

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

func (*DrainRequest) Reset

func (x *DrainRequest) Reset()

func (*DrainRequest) String

func (x *DrainRequest) String() string

type DrainResponse

type DrainResponse struct {
	// contains filtered or unexported fields
}

func (*DrainResponse) Descriptor deprecated

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

Deprecated: Use DrainResponse.ProtoReflect.Descriptor instead.

func (*DrainResponse) ProtoMessage

func (*DrainResponse) ProtoMessage()

func (*DrainResponse) ProtoReflect

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

func (*DrainResponse) Reset

func (x *DrainResponse) Reset()

func (*DrainResponse) String

func (x *DrainResponse) String() string

type GetRequest

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

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetDeploymentId

func (x *GetRequest) GetDeploymentId() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

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

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetDeployment

func (x *GetResponse) GetDeployment() *Deployment

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type ListRequest

type ListRequest struct {
	EnvId               string          `protobuf:"bytes,1,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	BuildId             string          `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	State               DeploymentState `protobuf:"varint,3,opt,name=state,proto3,enum=autokitteh.deployments.v1.DeploymentState" json:"state,omitempty"`
	Limit               uint32          `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	IncludeSessionStats bool            `protobuf:"varint,5,opt,name=include_session_stats,json=includeSessionStats,proto3" json:"include_session_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetBuildId

func (x *ListRequest) GetBuildId() string

func (*ListRequest) GetEnvId

func (x *ListRequest) GetEnvId() string

func (*ListRequest) GetIncludeSessionStats

func (x *ListRequest) GetIncludeSessionStats() bool

func (*ListRequest) GetLimit

func (x *ListRequest) GetLimit() uint32

func (*ListRequest) GetState

func (x *ListRequest) GetState() DeploymentState

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {

	// Chronological order: the last element is the latest.
	Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetDeployments

func (x *ListResponse) GetDeployments() []*Deployment

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type TestRequest

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

func (*TestRequest) Descriptor deprecated

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

Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.

func (*TestRequest) GetDeploymentId

func (x *TestRequest) GetDeploymentId() string

func (*TestRequest) ProtoMessage

func (*TestRequest) ProtoMessage()

func (*TestRequest) ProtoReflect

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

func (*TestRequest) Reset

func (x *TestRequest) Reset()

func (*TestRequest) String

func (x *TestRequest) String() string

type TestResponse

type TestResponse struct {
	// contains filtered or unexported fields
}

func (*TestResponse) Descriptor deprecated

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

Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) ProtoReflect

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

func (*TestResponse) Reset

func (x *TestResponse) Reset()

func (*TestResponse) String

func (x *TestResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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