proto

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var BuildType_name = map[int32]string{
	0: "UNKNOWN_BUILD_TYPE",
	1: "CLUSTER",
	2: "GCB",
	3: "LOCAL",
}
View Source
var BuildType_value = map[string]int32{
	"UNKNOWN_BUILD_TYPE": 0,
	"CLUSTER":            1,
	"GCB":                2,
	"LOCAL":              3,
}
View Source
var BuilderType_name = map[int32]string{
	0: "UNKNOWN_BUILDER_TYPE",
	1: "JIB",
	2: "BAZEL",
	3: "BUILDPACKS",
	4: "CUSTOM",
	5: "KANIKO",
	6: "DOCKER",
}
View Source
var BuilderType_value = map[string]int32{
	"UNKNOWN_BUILDER_TYPE": 0,
	"JIB":                  1,
	"BAZEL":                2,
	"BUILDPACKS":           3,
	"CUSTOM":               4,
	"KANIKO":               5,
	"DOCKER":               6,
}
View Source
var ClusterType_name = map[int32]string{
	0: "UNKNOWN_CLUSTER_TYPE",
	1: "MINIKUBE",
	2: "GKE",
	3: "OTHER",
}
View Source
var ClusterType_value = map[string]int32{
	"UNKNOWN_CLUSTER_TYPE": 0,
	"MINIKUBE":             1,
	"GKE":                  2,
	"OTHER":                3,
}
View Source
var DeployerType_name = map[int32]string{
	0: "UNKNOWN_DEPLOYER_TYPE",
	1: "HELM",
	2: "KUSTOMIZE",
	3: "KUBECTL",
}
View Source
var DeployerType_value = map[string]int32{
	"UNKNOWN_DEPLOYER_TYPE": 0,
	"HELM":                  1,
	"KUSTOMIZE":             2,
	"KUBECTL":               3,
}
View Source
var StatusCode_name = map[int32]string{
	0:   "OK",
	200: "STATUSCHECK_SUCCESS",
	201: "BUILD_SUCCESS",
	202: "DEPLOY_SUCCESS",
	101: "BUILD_PUSH_ACCESS_DENIED",
	102: "BUILD_PROJECT_NOT_FOUND",
	300: "STATUSCHECK_IMAGE_PULL_ERR",
	301: "STATUSCHECK_CONTAINER_CREATING",
	302: "STATUSCHECK_RUN_CONTAINER_ERR",
	303: "STATUSCHECK_CONTAINER_TERMINATED",
	304: "STATUSCHECK_DEPLOYMENT_ROLLOUT_PENDING",
	356: "STATUSCHECK_CONTAINER_RESTARTING",
	357: "STATUSCHECK_UNHEALTHY",
	400: "STATUSCHECK_NODE_MEMORY_PRESSURE",
	401: "STATUSCHECK_NODE_DISK_PRESSURE",
	402: "STATUSCHECK_NODE_NETWORK_UNAVAILABLE",
	403: "STATUSCHECK_NODE_PID_PRESSURE",
	404: "STATUSCHECK_NODE_UNSCHEDULABLE",
	405: "STATUSCHECK_NODE_UNREACHABLE",
	406: "STATUSCHECK_NODE_NOT_READY",
	407: "STATUSCHECK_FAILED_SCHEDULING",
	409: "STATUSCHECK_KUBECTL_CONNECTION_ERR",
	410: "STATUSCHECK_KUBECTL_PID_KILLED",
	411: "STATUSCHECK_KUBECTL_CLIENT_FETCH_ERR",
	412: "STATUSCHECK_DEPLOYMENT_FETCH_ERR",
	451: "STATUSCHECK_POD_INITIALIZING",
	500: "UNKNOWN_ERROR",
	501: "STATUSCHECK_UNKNOWN",
	502: "STATUSCHECK_UNKNOWN_UNSCHEDULABLE",
	503: "STATUSCHECK_CONTAINER_WAITING_UNKNOWN",
	509: "STATUSCHECK_UNKNOWN_EVENT",
	504: "DEPLOY_UNKNOWN",
	505: "SYNC_UNKNOWN",
	506: "BUILD_UNKNOWN",
	507: "DEVINIT_UNKNOWN",
	508: "CLEANUP_UNKNOWN",
	601: "SYNC_INIT_ERROR",
	701: "DEVINIT_REGISTER_BUILD_DEPS",
	702: "DEVINIT_REGISTER_TEST_DEPS",
	703: "DEVINIT_REGISTER_DEPLOY_DEPS",
	704: "DEVINIT_REGISTER_CONFIG_DEP",
	800: "STATUSCHECK_USER_CANCELLED",
	801: "STATUSCHECK_DEADLINE_EXCEEDED",
}
View Source
var StatusCode_value = map[string]int32{
	"OK":                                     0,
	"STATUSCHECK_SUCCESS":                    200,
	"BUILD_SUCCESS":                          201,
	"DEPLOY_SUCCESS":                         202,
	"BUILD_PUSH_ACCESS_DENIED":               101,
	"BUILD_PROJECT_NOT_FOUND":                102,
	"STATUSCHECK_IMAGE_PULL_ERR":             300,
	"STATUSCHECK_CONTAINER_CREATING":         301,
	"STATUSCHECK_RUN_CONTAINER_ERR":          302,
	"STATUSCHECK_CONTAINER_TERMINATED":       303,
	"STATUSCHECK_DEPLOYMENT_ROLLOUT_PENDING": 304,
	"STATUSCHECK_CONTAINER_RESTARTING":       356,
	"STATUSCHECK_UNHEALTHY":                  357,
	"STATUSCHECK_NODE_MEMORY_PRESSURE":       400,
	"STATUSCHECK_NODE_DISK_PRESSURE":         401,
	"STATUSCHECK_NODE_NETWORK_UNAVAILABLE":   402,
	"STATUSCHECK_NODE_PID_PRESSURE":          403,
	"STATUSCHECK_NODE_UNSCHEDULABLE":         404,
	"STATUSCHECK_NODE_UNREACHABLE":           405,
	"STATUSCHECK_NODE_NOT_READY":             406,
	"STATUSCHECK_FAILED_SCHEDULING":          407,
	"STATUSCHECK_KUBECTL_CONNECTION_ERR":     409,
	"STATUSCHECK_KUBECTL_PID_KILLED":         410,
	"STATUSCHECK_KUBECTL_CLIENT_FETCH_ERR":   411,
	"STATUSCHECK_DEPLOYMENT_FETCH_ERR":       412,
	"STATUSCHECK_POD_INITIALIZING":           451,
	"UNKNOWN_ERROR":                          500,
	"STATUSCHECK_UNKNOWN":                    501,
	"STATUSCHECK_UNKNOWN_UNSCHEDULABLE":      502,
	"STATUSCHECK_CONTAINER_WAITING_UNKNOWN":  503,
	"STATUSCHECK_UNKNOWN_EVENT":              509,
	"DEPLOY_UNKNOWN":                         504,
	"SYNC_UNKNOWN":                           505,
	"BUILD_UNKNOWN":                          506,
	"DEVINIT_UNKNOWN":                        507,
	"CLEANUP_UNKNOWN":                        508,
	"SYNC_INIT_ERROR":                        601,
	"DEVINIT_REGISTER_BUILD_DEPS":            701,
	"DEVINIT_REGISTER_TEST_DEPS":             702,
	"DEVINIT_REGISTER_DEPLOY_DEPS":           703,
	"DEVINIT_REGISTER_CONFIG_DEP":            704,
	"STATUSCHECK_USER_CANCELLED":             800,
	"STATUSCHECK_DEADLINE_EXCEEDED":          801,
}
View Source
var SuggestionCode_name = map[int32]string{
	0:   "NIL",
	100: "ADD_DEFAULT_REPO",
	101: "CHECK_DEFAULT_REPO",
	102: "CHECK_DEFAULT_REPO_GLOBAL_CONFIG",
	103: "GCLOUD_DOCKER_AUTH_CONFIGURE",
	104: "DOCKER_AUTH_CONFIGURE",
	105: "CHECK_GCLOUD_PROJECT",
	301: "CHECK_CONTAINER_LOGS",
	302: "CHECK_READINESS_PROBE",
	303: "CHECK_CONTAINER_IMAGE",
	400: "ADDRESS_NODE_MEMORY_PRESSURE",
	401: "ADDRESS_NODE_DISK_PRESSURE",
	402: "ADDRESS_NODE_NETWORK_UNAVAILABLE",
	403: "ADDRESS_NODE_PID_PRESSURE",
	404: "ADDRESS_NODE_UNSCHEDULABLE",
	405: "ADDRESS_NODE_UNREACHABLE",
	406: "ADDRESS_NODE_NOT_READY",
	407: "ADDRESS_FAILED_SCHEDULING",
	408: "CHECK_HOST_CONNECTION",
}
View Source
var SuggestionCode_value = map[string]int32{
	"NIL":                              0,
	"ADD_DEFAULT_REPO":                 100,
	"CHECK_DEFAULT_REPO":               101,
	"CHECK_DEFAULT_REPO_GLOBAL_CONFIG": 102,
	"GCLOUD_DOCKER_AUTH_CONFIGURE":     103,
	"DOCKER_AUTH_CONFIGURE":            104,
	"CHECK_GCLOUD_PROJECT":             105,
	"CHECK_CONTAINER_LOGS":             301,
	"CHECK_READINESS_PROBE":            302,
	"CHECK_CONTAINER_IMAGE":            303,
	"ADDRESS_NODE_MEMORY_PRESSURE":     400,
	"ADDRESS_NODE_DISK_PRESSURE":       401,
	"ADDRESS_NODE_NETWORK_UNAVAILABLE": 402,
	"ADDRESS_NODE_PID_PRESSURE":        403,
	"ADDRESS_NODE_UNSCHEDULABLE":       404,
	"ADDRESS_NODE_UNREACHABLE":         405,
	"ADDRESS_NODE_NOT_READY":           406,
	"ADDRESS_FAILED_SCHEDULING":        407,
	"CHECK_HOST_CONNECTION":            408,
}

Functions

func RegisterSkaffoldServiceHandler

func RegisterSkaffoldServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSkaffoldServiceHandler registers the http handlers for service SkaffoldService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSkaffoldServiceHandlerClient

func RegisterSkaffoldServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SkaffoldServiceClient) error

RegisterSkaffoldServiceHandlerClient registers the http handlers for service SkaffoldService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SkaffoldServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SkaffoldServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SkaffoldServiceClient" to call the correct interceptors.

func RegisterSkaffoldServiceHandlerFromEndpoint

func RegisterSkaffoldServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSkaffoldServiceHandlerFromEndpoint is same as RegisterSkaffoldServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSkaffoldServiceServer

func RegisterSkaffoldServiceServer(s *grpc.Server, srv SkaffoldServiceServer)

Types

type ActionableErr added in v1.7.1

type ActionableErr struct {
	ErrCode              StatusCode    `protobuf:"varint,1,opt,name=errCode,proto3,enum=proto.StatusCode" json:"errCode,omitempty"`
	Message              string        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Suggestions          []*Suggestion `protobuf:"bytes,3,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

`ActionableErr` defines an error that occurred along with an optional list of suggestions

func (*ActionableErr) Descriptor added in v1.7.1

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

func (*ActionableErr) GetErrCode added in v1.7.1

func (m *ActionableErr) GetErrCode() StatusCode

func (*ActionableErr) GetMessage added in v1.7.1

func (m *ActionableErr) GetMessage() string

func (*ActionableErr) GetSuggestions added in v1.7.1

func (m *ActionableErr) GetSuggestions() []*Suggestion

func (*ActionableErr) ProtoMessage added in v1.7.1

func (*ActionableErr) ProtoMessage()

func (*ActionableErr) Reset added in v1.7.1

func (m *ActionableErr) Reset()

func (*ActionableErr) String added in v1.7.1

func (m *ActionableErr) String() string

func (*ActionableErr) XXX_DiscardUnknown added in v1.7.1

func (m *ActionableErr) XXX_DiscardUnknown()

func (*ActionableErr) XXX_Marshal added in v1.7.1

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

func (*ActionableErr) XXX_Merge added in v1.7.1

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

func (*ActionableErr) XXX_Size added in v1.7.1

func (m *ActionableErr) XXX_Size() int

func (*ActionableErr) XXX_Unmarshal added in v1.7.1

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

type BuildEvent

type BuildEvent struct {
	Artifact             string         `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	Status               string         `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Err                  string         `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
	ErrCode              StatusCode     `protobuf:"varint,4,opt,name=errCode,proto3,enum=proto.StatusCode" json:"errCode,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,5,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

`BuildEvent` describes the build status per artifact, and will be emitted by Skaffold anytime a build starts or finishes, successfully or not. If the build fails, an error will be attached to the event.

func (*BuildEvent) Descriptor

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

func (*BuildEvent) GetActionableErr added in v1.7.1

func (m *BuildEvent) GetActionableErr() *ActionableErr

func (*BuildEvent) GetArtifact

func (m *BuildEvent) GetArtifact() string

func (*BuildEvent) GetErr

func (m *BuildEvent) GetErr() string

func (*BuildEvent) GetErrCode added in v1.7.1

func (m *BuildEvent) GetErrCode() StatusCode

func (*BuildEvent) GetStatus

func (m *BuildEvent) GetStatus() string

func (*BuildEvent) ProtoMessage

func (*BuildEvent) ProtoMessage()

func (*BuildEvent) Reset

func (m *BuildEvent) Reset()

func (*BuildEvent) String

func (m *BuildEvent) String() string

func (*BuildEvent) XXX_DiscardUnknown

func (m *BuildEvent) XXX_DiscardUnknown()

func (*BuildEvent) XXX_Marshal

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

func (*BuildEvent) XXX_Merge

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

func (*BuildEvent) XXX_Size

func (m *BuildEvent) XXX_Size() int

func (*BuildEvent) XXX_Unmarshal

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

type BuildMetadata added in v1.7.1

type BuildMetadata struct {
	NumberOfArtifacts int32                         `protobuf:"varint,1,opt,name=numberOfArtifacts,proto3" json:"numberOfArtifacts,omitempty"`
	Builders          []*BuildMetadata_ImageBuilder `protobuf:"bytes,2,rep,name=builders,proto3" json:"builders,omitempty"`
	Type              BuildType                     `protobuf:"varint,3,opt,name=type,proto3,enum=proto.BuildType" json:"type,omitempty"`
	// Additional key value pairs to describe the deploy pipeline
	Additional           map[string]string `` /* 162-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*BuildMetadata) Descriptor added in v1.7.1

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

func (*BuildMetadata) GetAdditional added in v1.7.1

func (m *BuildMetadata) GetAdditional() map[string]string

func (*BuildMetadata) GetBuilders added in v1.7.1

func (m *BuildMetadata) GetBuilders() []*BuildMetadata_ImageBuilder

func (*BuildMetadata) GetNumberOfArtifacts added in v1.7.1

func (m *BuildMetadata) GetNumberOfArtifacts() int32

func (*BuildMetadata) GetType added in v1.7.1

func (m *BuildMetadata) GetType() BuildType

func (*BuildMetadata) ProtoMessage added in v1.7.1

func (*BuildMetadata) ProtoMessage()

func (*BuildMetadata) Reset added in v1.7.1

func (m *BuildMetadata) Reset()

func (*BuildMetadata) String added in v1.7.1

func (m *BuildMetadata) String() string

func (*BuildMetadata) XXX_DiscardUnknown added in v1.7.1

func (m *BuildMetadata) XXX_DiscardUnknown()

func (*BuildMetadata) XXX_Marshal added in v1.7.1

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

func (*BuildMetadata) XXX_Merge added in v1.7.1

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

func (*BuildMetadata) XXX_Size added in v1.7.1

func (m *BuildMetadata) XXX_Size() int

func (*BuildMetadata) XXX_Unmarshal added in v1.7.1

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

type BuildMetadata_ImageBuilder added in v1.7.1

type BuildMetadata_ImageBuilder struct {
	Type                 BuilderType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.BuilderType" json:"type,omitempty"`
	Count                int32       `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*BuildMetadata_ImageBuilder) Descriptor added in v1.7.1

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

func (*BuildMetadata_ImageBuilder) GetCount added in v1.7.1

func (m *BuildMetadata_ImageBuilder) GetCount() int32

func (*BuildMetadata_ImageBuilder) GetType added in v1.7.1

func (*BuildMetadata_ImageBuilder) ProtoMessage added in v1.7.1

func (*BuildMetadata_ImageBuilder) ProtoMessage()

func (*BuildMetadata_ImageBuilder) Reset added in v1.7.1

func (m *BuildMetadata_ImageBuilder) Reset()

func (*BuildMetadata_ImageBuilder) String added in v1.7.1

func (m *BuildMetadata_ImageBuilder) String() string

func (*BuildMetadata_ImageBuilder) XXX_DiscardUnknown added in v1.7.1

func (m *BuildMetadata_ImageBuilder) XXX_DiscardUnknown()

func (*BuildMetadata_ImageBuilder) XXX_Marshal added in v1.7.1

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

func (*BuildMetadata_ImageBuilder) XXX_Merge added in v1.7.1

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

func (*BuildMetadata_ImageBuilder) XXX_Size added in v1.7.1

func (m *BuildMetadata_ImageBuilder) XXX_Size() int

func (*BuildMetadata_ImageBuilder) XXX_Unmarshal added in v1.7.1

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

type BuildState

type BuildState struct {
	// A map of `artifact name -> build-state`.
	// Artifact name is defined in the `skaffold.yaml`.
	// The `build-state` can be: <br>
	// - `"Not started"`: not yet started <br>
	// - `"In progress"`: build started <br>
	// - `"Complete"`: build succeeded <br>
	// - `"Failed"`: build failed
	Artifacts            map[string]string `` /* 159-byte string literal not displayed */
	AutoTrigger          bool              `protobuf:"varint,2,opt,name=autoTrigger,proto3" json:"autoTrigger,omitempty"`
	StatusCode           StatusCode        `protobuf:"varint,3,opt,name=statusCode,proto3,enum=proto.StatusCode" json:"statusCode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

`BuildState` maps Skaffold artifacts to their current build states

func (*BuildState) Descriptor

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

func (*BuildState) GetArtifacts

func (m *BuildState) GetArtifacts() map[string]string

func (*BuildState) GetAutoTrigger added in v1.7.1

func (m *BuildState) GetAutoTrigger() bool

func (*BuildState) GetStatusCode added in v1.7.1

func (m *BuildState) GetStatusCode() StatusCode

func (*BuildState) ProtoMessage

func (*BuildState) ProtoMessage()

func (*BuildState) Reset

func (m *BuildState) Reset()

func (*BuildState) String

func (m *BuildState) String() string

func (*BuildState) XXX_DiscardUnknown

func (m *BuildState) XXX_DiscardUnknown()

func (*BuildState) XXX_Marshal

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

func (*BuildState) XXX_Merge

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

func (*BuildState) XXX_Size

func (m *BuildState) XXX_Size() int

func (*BuildState) XXX_Unmarshal

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

type BuildType added in v1.7.1

type BuildType int32

Enum indicating build type i.e. local, cluster vs GCB

const (
	// Could not determine Build Type
	BuildType_UNKNOWN_BUILD_TYPE BuildType = 0
	// Cluster Build
	BuildType_CLUSTER BuildType = 1
	// GCB Build
	BuildType_GCB BuildType = 2
	// Local Build
	BuildType_LOCAL BuildType = 3
)

func (BuildType) EnumDescriptor added in v1.7.1

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

func (BuildType) String added in v1.7.1

func (x BuildType) String() string

type BuilderType added in v1.7.1

type BuilderType int32

Enum indicating builders used

const (
	// Could not determine builder type
	BuilderType_UNKNOWN_BUILDER_TYPE BuilderType = 0
	// JIB Builder
	BuilderType_JIB BuilderType = 1
	// Bazel Builder
	BuilderType_BAZEL BuilderType = 2
	// Buildpacks Builder
	BuilderType_BUILDPACKS BuilderType = 3
	// Custom Builder
	BuilderType_CUSTOM BuilderType = 4
	// Kaniko Builder
	BuilderType_KANIKO BuilderType = 5
	// Docker Builder
	BuilderType_DOCKER BuilderType = 6
)

func (BuilderType) EnumDescriptor added in v1.7.1

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

func (BuilderType) String added in v1.7.1

func (x BuilderType) String() string

type ClusterType added in v1.7.1

type ClusterType int32

Enum indicating cluster type the application is deployed to

const (
	// Could not determine Cluster Type
	ClusterType_UNKNOWN_CLUSTER_TYPE ClusterType = 0
	// Minikube Cluster
	ClusterType_MINIKUBE ClusterType = 1
	// GKE cluster
	ClusterType_GKE ClusterType = 2
	// All Cluster except Minikube and GKE
	ClusterType_OTHER ClusterType = 3
)

func (ClusterType) EnumDescriptor added in v1.7.1

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

func (ClusterType) String added in v1.7.1

func (x ClusterType) String() string

type DebuggingContainerEvent added in v1.3.1

type DebuggingContainerEvent struct {
	Status               string            `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PodName              string            `protobuf:"bytes,2,opt,name=podName,proto3" json:"podName,omitempty"`
	ContainerName        string            `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"`
	Namespace            string            `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Artifact             string            `protobuf:"bytes,5,opt,name=artifact,proto3" json:"artifact,omitempty"`
	Runtime              string            `protobuf:"bytes,6,opt,name=runtime,proto3" json:"runtime,omitempty"`
	WorkingDir           string            `protobuf:"bytes,7,opt,name=workingDir,proto3" json:"workingDir,omitempty"`
	DebugPorts           map[string]uint32 `` /* 162-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DebuggingContainerEvent is raised when a debugging container is started or terminated

func (*DebuggingContainerEvent) Descriptor added in v1.3.1

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

func (*DebuggingContainerEvent) GetArtifact added in v1.4.0

func (m *DebuggingContainerEvent) GetArtifact() string

func (*DebuggingContainerEvent) GetContainerName added in v1.3.1

func (m *DebuggingContainerEvent) GetContainerName() string

func (*DebuggingContainerEvent) GetDebugPorts added in v1.3.1

func (m *DebuggingContainerEvent) GetDebugPorts() map[string]uint32

func (*DebuggingContainerEvent) GetNamespace added in v1.3.1

func (m *DebuggingContainerEvent) GetNamespace() string

func (*DebuggingContainerEvent) GetPodName added in v1.3.1

func (m *DebuggingContainerEvent) GetPodName() string

func (*DebuggingContainerEvent) GetRuntime added in v1.3.1

func (m *DebuggingContainerEvent) GetRuntime() string

func (*DebuggingContainerEvent) GetStatus added in v1.3.1

func (m *DebuggingContainerEvent) GetStatus() string

func (*DebuggingContainerEvent) GetWorkingDir added in v1.3.1

func (m *DebuggingContainerEvent) GetWorkingDir() string

func (*DebuggingContainerEvent) ProtoMessage added in v1.3.1

func (*DebuggingContainerEvent) ProtoMessage()

func (*DebuggingContainerEvent) Reset added in v1.3.1

func (m *DebuggingContainerEvent) Reset()

func (*DebuggingContainerEvent) String added in v1.3.1

func (m *DebuggingContainerEvent) String() string

func (*DebuggingContainerEvent) XXX_DiscardUnknown added in v1.3.1

func (m *DebuggingContainerEvent) XXX_DiscardUnknown()

func (*DebuggingContainerEvent) XXX_Marshal added in v1.3.1

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

func (*DebuggingContainerEvent) XXX_Merge added in v1.3.1

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

func (*DebuggingContainerEvent) XXX_Size added in v1.3.1

func (m *DebuggingContainerEvent) XXX_Size() int

func (*DebuggingContainerEvent) XXX_Unmarshal added in v1.3.1

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

type DeployEvent

type DeployEvent struct {
	Status               string         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Err                  string         `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	ErrCode              StatusCode     `protobuf:"varint,3,opt,name=errCode,proto3,enum=proto.StatusCode" json:"errCode,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,4,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

`DeployEvent` represents the status of a deployment, and is emitted by Skaffold anytime a deployment starts or completes, successfully or not.

func (*DeployEvent) Descriptor

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

func (*DeployEvent) GetActionableErr added in v1.7.1

func (m *DeployEvent) GetActionableErr() *ActionableErr

func (*DeployEvent) GetErr

func (m *DeployEvent) GetErr() string

func (*DeployEvent) GetErrCode added in v1.7.1

func (m *DeployEvent) GetErrCode() StatusCode

func (*DeployEvent) GetStatus

func (m *DeployEvent) GetStatus() string

func (*DeployEvent) ProtoMessage

func (*DeployEvent) ProtoMessage()

func (*DeployEvent) Reset

func (m *DeployEvent) Reset()

func (*DeployEvent) String

func (m *DeployEvent) String() string

func (*DeployEvent) XXX_DiscardUnknown

func (m *DeployEvent) XXX_DiscardUnknown()

func (*DeployEvent) XXX_Marshal

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

func (*DeployEvent) XXX_Merge

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

func (*DeployEvent) XXX_Size

func (m *DeployEvent) XXX_Size() int

func (*DeployEvent) XXX_Unmarshal

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

type DeployMetadata added in v1.7.1

type DeployMetadata struct {
	Deployers            []*DeployMetadata_Deployer `protobuf:"bytes,1,rep,name=deployers,proto3" json:"deployers,omitempty"`
	Cluster              ClusterType                `protobuf:"varint,2,opt,name=cluster,proto3,enum=proto.ClusterType" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*DeployMetadata) Descriptor added in v1.7.1

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

func (*DeployMetadata) GetCluster added in v1.7.1

func (m *DeployMetadata) GetCluster() ClusterType

func (*DeployMetadata) GetDeployers added in v1.7.1

func (m *DeployMetadata) GetDeployers() []*DeployMetadata_Deployer

func (*DeployMetadata) ProtoMessage added in v1.7.1

func (*DeployMetadata) ProtoMessage()

func (*DeployMetadata) Reset added in v1.7.1

func (m *DeployMetadata) Reset()

func (*DeployMetadata) String added in v1.7.1

func (m *DeployMetadata) String() string

func (*DeployMetadata) XXX_DiscardUnknown added in v1.7.1

func (m *DeployMetadata) XXX_DiscardUnknown()

func (*DeployMetadata) XXX_Marshal added in v1.7.1

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

func (*DeployMetadata) XXX_Merge added in v1.7.1

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

func (*DeployMetadata) XXX_Size added in v1.7.1

func (m *DeployMetadata) XXX_Size() int

func (*DeployMetadata) XXX_Unmarshal added in v1.7.1

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

type DeployMetadata_Deployer added in v1.7.1

type DeployMetadata_Deployer struct {
	Type                 DeployerType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.DeployerType" json:"type,omitempty"`
	Count                int32        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DeployMetadata_Deployer) Descriptor added in v1.7.1

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

func (*DeployMetadata_Deployer) GetCount added in v1.7.1

func (m *DeployMetadata_Deployer) GetCount() int32

func (*DeployMetadata_Deployer) GetType added in v1.7.1

func (*DeployMetadata_Deployer) ProtoMessage added in v1.7.1

func (*DeployMetadata_Deployer) ProtoMessage()

func (*DeployMetadata_Deployer) Reset added in v1.7.1

func (m *DeployMetadata_Deployer) Reset()

func (*DeployMetadata_Deployer) String added in v1.7.1

func (m *DeployMetadata_Deployer) String() string

func (*DeployMetadata_Deployer) XXX_DiscardUnknown added in v1.7.1

func (m *DeployMetadata_Deployer) XXX_DiscardUnknown()

func (*DeployMetadata_Deployer) XXX_Marshal added in v1.7.1

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

func (*DeployMetadata_Deployer) XXX_Merge added in v1.7.1

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

func (*DeployMetadata_Deployer) XXX_Size added in v1.7.1

func (m *DeployMetadata_Deployer) XXX_Size() int

func (*DeployMetadata_Deployer) XXX_Unmarshal added in v1.7.1

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

type DeployState

type DeployState struct {
	Status               string     `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	AutoTrigger          bool       `protobuf:"varint,2,opt,name=autoTrigger,proto3" json:"autoTrigger,omitempty"`
	StatusCode           StatusCode `protobuf:"varint,3,opt,name=statusCode,proto3,enum=proto.StatusCode" json:"statusCode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

`DeployState` describes the status of the current deploy

func (*DeployState) Descriptor

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

func (*DeployState) GetAutoTrigger added in v1.7.1

func (m *DeployState) GetAutoTrigger() bool

func (*DeployState) GetStatus

func (m *DeployState) GetStatus() string

func (*DeployState) GetStatusCode added in v1.7.1

func (m *DeployState) GetStatusCode() StatusCode

func (*DeployState) ProtoMessage

func (*DeployState) ProtoMessage()

func (*DeployState) Reset

func (m *DeployState) Reset()

func (*DeployState) String

func (m *DeployState) String() string

func (*DeployState) XXX_DiscardUnknown

func (m *DeployState) XXX_DiscardUnknown()

func (*DeployState) XXX_Marshal

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

func (*DeployState) XXX_Merge

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

func (*DeployState) XXX_Size

func (m *DeployState) XXX_Size() int

func (*DeployState) XXX_Unmarshal

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

type DeployerType added in v1.7.1

type DeployerType int32

Enum indicating deploy tools used

const (
	// Could not determine Deployer Type
	DeployerType_UNKNOWN_DEPLOYER_TYPE DeployerType = 0
	// Helm Deployer
	DeployerType_HELM DeployerType = 1
	// Kustomize Deployer
	DeployerType_KUSTOMIZE DeployerType = 2
	// Kubectl Deployer
	DeployerType_KUBECTL DeployerType = 3
)

func (DeployerType) EnumDescriptor added in v1.7.1

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

func (DeployerType) String added in v1.7.1

func (x DeployerType) String() string

type DevLoopEvent added in v1.7.1

type DevLoopEvent struct {
	Iteration            int32          `protobuf:"varint,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	Status               string         `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Err                  *ActionableErr `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

`DevLoopEvent` marks the start and end of a dev loop.

func (*DevLoopEvent) Descriptor added in v1.7.1

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

func (*DevLoopEvent) GetErr added in v1.7.1

func (m *DevLoopEvent) GetErr() *ActionableErr

func (*DevLoopEvent) GetIteration added in v1.7.1

func (m *DevLoopEvent) GetIteration() int32

func (*DevLoopEvent) GetStatus added in v1.7.1

func (m *DevLoopEvent) GetStatus() string

func (*DevLoopEvent) ProtoMessage added in v1.7.1

func (*DevLoopEvent) ProtoMessage()

func (*DevLoopEvent) Reset added in v1.7.1

func (m *DevLoopEvent) Reset()

func (*DevLoopEvent) String added in v1.7.1

func (m *DevLoopEvent) String() string

func (*DevLoopEvent) XXX_DiscardUnknown added in v1.7.1

func (m *DevLoopEvent) XXX_DiscardUnknown()

func (*DevLoopEvent) XXX_Marshal added in v1.7.1

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

func (*DevLoopEvent) XXX_Merge added in v1.7.1

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

func (*DevLoopEvent) XXX_Size added in v1.7.1

func (m *DevLoopEvent) XXX_Size() int

func (*DevLoopEvent) XXX_Unmarshal added in v1.7.1

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

type Event

type Event struct {
	// Types that are valid to be assigned to EventType:
	//	*Event_MetaEvent
	//	*Event_BuildEvent
	//	*Event_DeployEvent
	//	*Event_PortEvent
	//	*Event_StatusCheckEvent
	//	*Event_ResourceStatusCheckEvent
	//	*Event_FileSyncEvent
	//	*Event_DebuggingContainerEvent
	//	*Event_DevLoopEvent
	EventType            isEvent_EventType `protobuf_oneof:"event_type"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

`Event` describes an event in the Skaffold process. It is one of MetaEvent, BuildEvent, DeployEvent, PortEvent, StatusCheckEvent, ResourceStatusCheckEvent, FileSyncEvent, or DebuggingContainerEvent.

func (*Event) Descriptor

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

func (*Event) GetBuildEvent

func (m *Event) GetBuildEvent() *BuildEvent

func (*Event) GetDebuggingContainerEvent added in v1.3.1

func (m *Event) GetDebuggingContainerEvent() *DebuggingContainerEvent

func (*Event) GetDeployEvent

func (m *Event) GetDeployEvent() *DeployEvent

func (*Event) GetDevLoopEvent added in v1.7.1

func (m *Event) GetDevLoopEvent() *DevLoopEvent

func (*Event) GetEventType

func (m *Event) GetEventType() isEvent_EventType

func (*Event) GetFileSyncEvent added in v0.40.0

func (m *Event) GetFileSyncEvent() *FileSyncEvent

func (*Event) GetMetaEvent

func (m *Event) GetMetaEvent() *MetaEvent

func (*Event) GetPortEvent

func (m *Event) GetPortEvent() *PortEvent

func (*Event) GetResourceStatusCheckEvent added in v0.39.0

func (m *Event) GetResourceStatusCheckEvent() *ResourceStatusCheckEvent

func (*Event) GetStatusCheckEvent added in v0.39.0

func (m *Event) GetStatusCheckEvent() *StatusCheckEvent

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_OneofWrappers

func (*Event) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type Event_BuildEvent

type Event_BuildEvent struct {
	BuildEvent *BuildEvent `protobuf:"bytes,2,opt,name=buildEvent,proto3,oneof"`
}

type Event_DebuggingContainerEvent added in v1.3.1

type Event_DebuggingContainerEvent struct {
	DebuggingContainerEvent *DebuggingContainerEvent `protobuf:"bytes,8,opt,name=debuggingContainerEvent,proto3,oneof"`
}

type Event_DeployEvent

type Event_DeployEvent struct {
	DeployEvent *DeployEvent `protobuf:"bytes,3,opt,name=deployEvent,proto3,oneof"`
}

type Event_DevLoopEvent added in v1.7.1

type Event_DevLoopEvent struct {
	DevLoopEvent *DevLoopEvent `protobuf:"bytes,9,opt,name=devLoopEvent,proto3,oneof"`
}

type Event_FileSyncEvent added in v0.40.0

type Event_FileSyncEvent struct {
	FileSyncEvent *FileSyncEvent `protobuf:"bytes,7,opt,name=fileSyncEvent,proto3,oneof"`
}

type Event_MetaEvent

type Event_MetaEvent struct {
	MetaEvent *MetaEvent `protobuf:"bytes,1,opt,name=metaEvent,proto3,oneof"`
}

type Event_PortEvent

type Event_PortEvent struct {
	PortEvent *PortEvent `protobuf:"bytes,4,opt,name=portEvent,proto3,oneof"`
}

type Event_ResourceStatusCheckEvent added in v0.39.0

type Event_ResourceStatusCheckEvent struct {
	ResourceStatusCheckEvent *ResourceStatusCheckEvent `protobuf:"bytes,6,opt,name=resourceStatusCheckEvent,proto3,oneof"`
}

type Event_StatusCheckEvent added in v0.39.0

type Event_StatusCheckEvent struct {
	StatusCheckEvent *StatusCheckEvent `protobuf:"bytes,5,opt,name=statusCheckEvent,proto3,oneof"`
}

type FileSyncEvent added in v0.40.0

type FileSyncEvent struct {
	FileCount            int32          `protobuf:"varint,1,opt,name=fileCount,proto3" json:"fileCount,omitempty"`
	Image                string         `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Status               string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Err                  string         `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"`
	ErrCode              StatusCode     `protobuf:"varint,5,opt,name=errCode,proto3,enum=proto.StatusCode" json:"errCode,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,6,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

FileSyncEvent describes the sync status.

func (*FileSyncEvent) Descriptor added in v0.40.0

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

func (*FileSyncEvent) GetActionableErr added in v1.7.1

func (m *FileSyncEvent) GetActionableErr() *ActionableErr

func (*FileSyncEvent) GetErr added in v0.40.0

func (m *FileSyncEvent) GetErr() string

func (*FileSyncEvent) GetErrCode added in v1.7.1

func (m *FileSyncEvent) GetErrCode() StatusCode

func (*FileSyncEvent) GetFileCount added in v0.40.0

func (m *FileSyncEvent) GetFileCount() int32

func (*FileSyncEvent) GetImage added in v0.40.0

func (m *FileSyncEvent) GetImage() string

func (*FileSyncEvent) GetStatus added in v0.40.0

func (m *FileSyncEvent) GetStatus() string

func (*FileSyncEvent) ProtoMessage added in v0.40.0

func (*FileSyncEvent) ProtoMessage()

func (*FileSyncEvent) Reset added in v0.40.0

func (m *FileSyncEvent) Reset()

func (*FileSyncEvent) String added in v0.40.0

func (m *FileSyncEvent) String() string

func (*FileSyncEvent) XXX_DiscardUnknown added in v0.40.0

func (m *FileSyncEvent) XXX_DiscardUnknown()

func (*FileSyncEvent) XXX_Marshal added in v0.40.0

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

func (*FileSyncEvent) XXX_Merge added in v0.40.0

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

func (*FileSyncEvent) XXX_Size added in v0.40.0

func (m *FileSyncEvent) XXX_Size() int

func (*FileSyncEvent) XXX_Unmarshal added in v0.40.0

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

type FileSyncState added in v0.40.0

type FileSyncState struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	AutoTrigger          bool     `protobuf:"varint,2,opt,name=autoTrigger,proto3" json:"autoTrigger,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`FileSyncState` contains the status of the current file sync

func (*FileSyncState) Descriptor added in v0.40.0

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

func (*FileSyncState) GetAutoTrigger added in v1.7.1

func (m *FileSyncState) GetAutoTrigger() bool

func (*FileSyncState) GetStatus added in v0.40.0

func (m *FileSyncState) GetStatus() string

func (*FileSyncState) ProtoMessage added in v0.40.0

func (*FileSyncState) ProtoMessage()

func (*FileSyncState) Reset added in v0.40.0

func (m *FileSyncState) Reset()

func (*FileSyncState) String added in v0.40.0

func (m *FileSyncState) String() string

func (*FileSyncState) XXX_DiscardUnknown added in v0.40.0

func (m *FileSyncState) XXX_DiscardUnknown()

func (*FileSyncState) XXX_Marshal added in v0.40.0

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

func (*FileSyncState) XXX_Merge added in v0.40.0

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

func (*FileSyncState) XXX_Size added in v0.40.0

func (m *FileSyncState) XXX_Size() int

func (*FileSyncState) XXX_Unmarshal added in v0.40.0

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

type Intent added in v0.34.1

type Intent struct {
	Build                bool     `protobuf:"varint,1,opt,name=build,proto3" json:"build,omitempty"`
	Sync                 bool     `protobuf:"varint,2,opt,name=sync,proto3" json:"sync,omitempty"`
	Deploy               bool     `protobuf:"varint,3,opt,name=deploy,proto3" json:"deploy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Intent represents user intents for a given phase.

func (*Intent) Descriptor added in v0.34.1

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

func (*Intent) GetBuild added in v0.34.1

func (m *Intent) GetBuild() bool

func (*Intent) GetDeploy added in v0.34.1

func (m *Intent) GetDeploy() bool

func (*Intent) GetSync added in v0.34.1

func (m *Intent) GetSync() bool

func (*Intent) ProtoMessage added in v0.34.1

func (*Intent) ProtoMessage()

func (*Intent) Reset added in v0.34.1

func (m *Intent) Reset()

func (*Intent) String added in v0.34.1

func (m *Intent) String() string

func (*Intent) XXX_DiscardUnknown added in v0.34.1

func (m *Intent) XXX_DiscardUnknown()

func (*Intent) XXX_Marshal added in v0.34.1

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

func (*Intent) XXX_Merge added in v0.34.1

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

func (*Intent) XXX_Size added in v0.34.1

func (m *Intent) XXX_Size() int

func (*Intent) XXX_Unmarshal added in v0.34.1

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

type LogEntry

type LogEntry struct {
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Event                *Event               `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	Entry                string               `protobuf:"bytes,3,opt,name=entry,proto3" json:"entry,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

LogEntry describes an event and a string description of the event.

func (*LogEntry) Descriptor

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

func (*LogEntry) GetEntry

func (m *LogEntry) GetEntry() string

func (*LogEntry) GetEvent

func (m *LogEntry) GetEvent() *Event

func (*LogEntry) GetTimestamp

func (m *LogEntry) GetTimestamp() *timestamp.Timestamp

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) Reset

func (m *LogEntry) Reset()

func (*LogEntry) String

func (m *LogEntry) String() string

func (*LogEntry) XXX_DiscardUnknown

func (m *LogEntry) XXX_DiscardUnknown()

func (*LogEntry) XXX_Marshal

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

func (*LogEntry) XXX_Merge

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

func (*LogEntry) XXX_Size

func (m *LogEntry) XXX_Size() int

func (*LogEntry) XXX_Unmarshal

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

type MetaEvent

type MetaEvent struct {
	// entry, for example: `"Starting Skaffold: {Version:v0.39.0-16-g5bb7c9e0 ConfigVersion:skaffold/v1 GitVersion: GitCommit:5bb7c9e078e4d522a5ffc42a2f1274fd17d75902 GitTreeState:dirty BuildDate01:29Z GoVersion:go1.13rc1 Compiler:gc Platform:linux/amd64}"`
	Entry string `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// Metadata describing skaffold pipeline
	Metadata             *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

`MetaEvent` provides general information regarding Skaffold

func (*MetaEvent) Descriptor

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

func (*MetaEvent) GetEntry

func (m *MetaEvent) GetEntry() string

func (*MetaEvent) GetMetadata added in v1.7.1

func (m *MetaEvent) GetMetadata() *Metadata

func (*MetaEvent) ProtoMessage

func (*MetaEvent) ProtoMessage()

func (*MetaEvent) Reset

func (m *MetaEvent) Reset()

func (*MetaEvent) String

func (m *MetaEvent) String() string

func (*MetaEvent) XXX_DiscardUnknown

func (m *MetaEvent) XXX_DiscardUnknown()

func (*MetaEvent) XXX_Marshal

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

func (*MetaEvent) XXX_Merge

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

func (*MetaEvent) XXX_Size

func (m *MetaEvent) XXX_Size() int

func (*MetaEvent) XXX_Unmarshal

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

type Metadata added in v1.7.1

type Metadata struct {
	Build  *BuildMetadata  `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
	Deploy *DeployMetadata `protobuf:"bytes,2,opt,name=deploy,proto3" json:"deploy,omitempty"`
	// Additional key value pairs to describe the build pipeline
	Additional           map[string]string `` /* 162-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Metadata) Descriptor added in v1.7.1

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

func (*Metadata) GetAdditional added in v1.7.1

func (m *Metadata) GetAdditional() map[string]string

func (*Metadata) GetBuild added in v1.7.1

func (m *Metadata) GetBuild() *BuildMetadata

func (*Metadata) GetDeploy added in v1.7.1

func (m *Metadata) GetDeploy() *DeployMetadata

func (*Metadata) ProtoMessage added in v1.7.1

func (*Metadata) ProtoMessage()

func (*Metadata) Reset added in v1.7.1

func (m *Metadata) Reset()

func (*Metadata) String added in v1.7.1

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown added in v1.7.1

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal added in v1.7.1

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

func (*Metadata) XXX_Merge added in v1.7.1

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

func (*Metadata) XXX_Size added in v1.7.1

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal added in v1.7.1

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

type PortEvent

type PortEvent struct {
	LocalPort            int32    `protobuf:"varint,1,opt,name=localPort,proto3" json:"localPort,omitempty"`
	RemotePort           int32    `protobuf:"varint,2,opt,name=remotePort,proto3" json:"remotePort,omitempty"`
	PodName              string   `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"`
	ContainerName        string   `protobuf:"bytes,4,opt,name=containerName,proto3" json:"containerName,omitempty"`
	Namespace            string   `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	PortName             string   `protobuf:"bytes,6,opt,name=portName,proto3" json:"portName,omitempty"`
	ResourceType         string   `protobuf:"bytes,7,opt,name=resourceType,proto3" json:"resourceType,omitempty"`
	ResourceName         string   `protobuf:"bytes,8,opt,name=resourceName,proto3" json:"resourceName,omitempty"`
	Address              string   `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PortEvent Event describes each port forwarding event.

func (*PortEvent) Descriptor

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

func (*PortEvent) GetAddress added in v1.1.0

func (m *PortEvent) GetAddress() string

func (*PortEvent) GetContainerName

func (m *PortEvent) GetContainerName() string

func (*PortEvent) GetLocalPort

func (m *PortEvent) GetLocalPort() int32

func (*PortEvent) GetNamespace

func (m *PortEvent) GetNamespace() string

func (*PortEvent) GetPodName

func (m *PortEvent) GetPodName() string

func (*PortEvent) GetPortName

func (m *PortEvent) GetPortName() string

func (*PortEvent) GetRemotePort

func (m *PortEvent) GetRemotePort() int32

func (*PortEvent) GetResourceName

func (m *PortEvent) GetResourceName() string

func (*PortEvent) GetResourceType

func (m *PortEvent) GetResourceType() string

func (*PortEvent) ProtoMessage

func (*PortEvent) ProtoMessage()

func (*PortEvent) Reset

func (m *PortEvent) Reset()

func (*PortEvent) String

func (m *PortEvent) String() string

func (*PortEvent) XXX_DiscardUnknown

func (m *PortEvent) XXX_DiscardUnknown()

func (*PortEvent) XXX_Marshal

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

func (*PortEvent) XXX_Merge

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

func (*PortEvent) XXX_Size

func (m *PortEvent) XXX_Size() int

func (*PortEvent) XXX_Unmarshal

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

type Request

type Request struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetName

func (m *Request) GetName() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type ResourceStatusCheckEvent added in v0.39.0

type ResourceStatusCheckEvent struct {
	Resource             string         `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Status               string         `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Message              string         `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Err                  string         `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"`
	StatusCode           StatusCode     `protobuf:"varint,5,opt,name=statusCode,proto3,enum=proto.StatusCode" json:"statusCode,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,6,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A Resource StatusCheck Event, indicates progress for each kubernetes deployment. For every resource, there will be exactly one event with `status` *Succeeded* or *Failed* event. There can be multiple events with `status` *Pending*. Skaffold polls for resource status every 0.5 second. If the resource status changes, an event with `status` “Pending”, “Complete” and “Failed” will be sent with the new status.

func (*ResourceStatusCheckEvent) Descriptor added in v0.39.0

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

func (*ResourceStatusCheckEvent) GetActionableErr added in v1.7.1

func (m *ResourceStatusCheckEvent) GetActionableErr() *ActionableErr

func (*ResourceStatusCheckEvent) GetErr added in v0.39.0

func (m *ResourceStatusCheckEvent) GetErr() string

func (*ResourceStatusCheckEvent) GetMessage added in v0.39.0

func (m *ResourceStatusCheckEvent) GetMessage() string

func (*ResourceStatusCheckEvent) GetResource added in v0.39.0

func (m *ResourceStatusCheckEvent) GetResource() string

func (*ResourceStatusCheckEvent) GetStatus added in v0.39.0

func (m *ResourceStatusCheckEvent) GetStatus() string

func (*ResourceStatusCheckEvent) GetStatusCode added in v1.7.1

func (m *ResourceStatusCheckEvent) GetStatusCode() StatusCode

func (*ResourceStatusCheckEvent) ProtoMessage added in v0.39.0

func (*ResourceStatusCheckEvent) ProtoMessage()

func (*ResourceStatusCheckEvent) Reset added in v0.39.0

func (m *ResourceStatusCheckEvent) Reset()

func (*ResourceStatusCheckEvent) String added in v0.39.0

func (m *ResourceStatusCheckEvent) String() string

func (*ResourceStatusCheckEvent) XXX_DiscardUnknown added in v0.39.0

func (m *ResourceStatusCheckEvent) XXX_DiscardUnknown()

func (*ResourceStatusCheckEvent) XXX_Marshal added in v0.39.0

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

func (*ResourceStatusCheckEvent) XXX_Merge added in v0.39.0

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

func (*ResourceStatusCheckEvent) XXX_Size added in v0.39.0

func (m *ResourceStatusCheckEvent) XXX_Size() int

func (*ResourceStatusCheckEvent) XXX_Unmarshal added in v0.39.0

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

type Response

type Response struct {
	Msg                  string   `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetMsg

func (m *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type SkaffoldServiceClient

type SkaffoldServiceClient interface {
	// Returns the state of the current Skaffold execution
	GetState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*State, error)
	// DEPRECATED. Events should be used instead.
	// TODO remove (https://github.com/GoogleContainerTools/skaffold/issues/3168)
	EventLog(ctx context.Context, opts ...grpc.CallOption) (SkaffoldService_EventLogClient, error)
	// Returns all the events of the current Skaffold execution from the start
	Events(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SkaffoldService_EventsClient, error)
	// Allows for a single execution of some or all of the phases (build, sync, deploy) in case autoBuild, autoDeploy or autoSync are disabled.
	Execute(ctx context.Context, in *UserIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Allows for enabling or disabling automatic build trigger
	AutoBuild(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Allows for enabling or disabling automatic sync trigger
	AutoSync(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Allows for enabling or disabling automatic deploy trigger
	AutoDeploy(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// EXPERIMENTAL. It allows for custom events to be implemented in custom builders for example.
	Handle(ctx context.Context, in *Event, opts ...grpc.CallOption) (*empty.Empty, error)
}

SkaffoldServiceClient is the client API for SkaffoldService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSkaffoldServiceClient

func NewSkaffoldServiceClient(cc *grpc.ClientConn) SkaffoldServiceClient

type SkaffoldServiceServer

type SkaffoldServiceServer interface {
	// Returns the state of the current Skaffold execution
	GetState(context.Context, *empty.Empty) (*State, error)
	// DEPRECATED. Events should be used instead.
	// TODO remove (https://github.com/GoogleContainerTools/skaffold/issues/3168)
	EventLog(SkaffoldService_EventLogServer) error
	// Returns all the events of the current Skaffold execution from the start
	Events(*empty.Empty, SkaffoldService_EventsServer) error
	// Allows for a single execution of some or all of the phases (build, sync, deploy) in case autoBuild, autoDeploy or autoSync are disabled.
	Execute(context.Context, *UserIntentRequest) (*empty.Empty, error)
	// Allows for enabling or disabling automatic build trigger
	AutoBuild(context.Context, *TriggerRequest) (*empty.Empty, error)
	// Allows for enabling or disabling automatic sync trigger
	AutoSync(context.Context, *TriggerRequest) (*empty.Empty, error)
	// Allows for enabling or disabling automatic deploy trigger
	AutoDeploy(context.Context, *TriggerRequest) (*empty.Empty, error)
	// EXPERIMENTAL. It allows for custom events to be implemented in custom builders for example.
	Handle(context.Context, *Event) (*empty.Empty, error)
}

SkaffoldServiceServer is the server API for SkaffoldService service.

type SkaffoldService_EventLogClient

type SkaffoldService_EventLogClient interface {
	Send(*LogEntry) error
	Recv() (*LogEntry, error)
	grpc.ClientStream
}

type SkaffoldService_EventLogServer

type SkaffoldService_EventLogServer interface {
	Send(*LogEntry) error
	Recv() (*LogEntry, error)
	grpc.ServerStream
}

type SkaffoldService_EventsClient

type SkaffoldService_EventsClient interface {
	Recv() (*LogEntry, error)
	grpc.ClientStream
}

type SkaffoldService_EventsServer

type SkaffoldService_EventsServer interface {
	Send(*LogEntry) error
	grpc.ServerStream
}

type State

type State struct {
	BuildState           *BuildState                `protobuf:"bytes,1,opt,name=buildState,proto3" json:"buildState,omitempty"`
	DeployState          *DeployState               `protobuf:"bytes,2,opt,name=deployState,proto3" json:"deployState,omitempty"`
	ForwardedPorts       map[int32]*PortEvent       `` /* 170-byte string literal not displayed */
	StatusCheckState     *StatusCheckState          `protobuf:"bytes,5,opt,name=statusCheckState,proto3" json:"statusCheckState,omitempty"`
	FileSyncState        *FileSyncState             `protobuf:"bytes,6,opt,name=fileSyncState,proto3" json:"fileSyncState,omitempty"`
	DebuggingContainers  []*DebuggingContainerEvent `protobuf:"bytes,7,rep,name=debuggingContainers,proto3" json:"debuggingContainers,omitempty"`
	Metadata             *Metadata                  `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

`State` represents the current state of the Skaffold components

func (*State) Descriptor

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

func (*State) GetBuildState

func (m *State) GetBuildState() *BuildState

func (*State) GetDebuggingContainers added in v1.3.1

func (m *State) GetDebuggingContainers() []*DebuggingContainerEvent

func (*State) GetDeployState

func (m *State) GetDeployState() *DeployState

func (*State) GetFileSyncState added in v0.40.0

func (m *State) GetFileSyncState() *FileSyncState

func (*State) GetForwardedPorts

func (m *State) GetForwardedPorts() map[int32]*PortEvent

func (*State) GetMetadata added in v1.7.1

func (m *State) GetMetadata() *Metadata

func (*State) GetStatusCheckState added in v0.39.0

func (m *State) GetStatusCheckState() *StatusCheckState

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) String

func (m *State) String() string

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

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

func (*State) XXX_Merge

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

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

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

type StateResponse

type StateResponse struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateResponse) Descriptor

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

func (*StateResponse) GetState

func (m *StateResponse) GetState() *State

func (*StateResponse) ProtoMessage

func (*StateResponse) ProtoMessage()

func (*StateResponse) Reset

func (m *StateResponse) Reset()

func (*StateResponse) String

func (m *StateResponse) String() string

func (*StateResponse) XXX_DiscardUnknown

func (m *StateResponse) XXX_DiscardUnknown()

func (*StateResponse) XXX_Marshal

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

func (*StateResponse) XXX_Merge

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

func (*StateResponse) XXX_Size

func (m *StateResponse) XXX_Size() int

func (*StateResponse) XXX_Unmarshal

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

type StatusCheckEvent added in v0.39.0

type StatusCheckEvent struct {
	Status               string         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message              string         `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Err                  string         `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
	ErrCode              StatusCode     `protobuf:"varint,4,opt,name=errCode,proto3,enum=proto.StatusCode" json:"errCode,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,5,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

`StatusCheckEvent` describes if the status check for kubernetes rollout has started, is in progress, has succeeded or failed.

func (*StatusCheckEvent) Descriptor added in v0.39.0

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

func (*StatusCheckEvent) GetActionableErr added in v1.7.1

func (m *StatusCheckEvent) GetActionableErr() *ActionableErr

func (*StatusCheckEvent) GetErr added in v0.39.0

func (m *StatusCheckEvent) GetErr() string

func (*StatusCheckEvent) GetErrCode added in v1.7.1

func (m *StatusCheckEvent) GetErrCode() StatusCode

func (*StatusCheckEvent) GetMessage added in v0.39.0

func (m *StatusCheckEvent) GetMessage() string

func (*StatusCheckEvent) GetStatus added in v0.39.0

func (m *StatusCheckEvent) GetStatus() string

func (*StatusCheckEvent) ProtoMessage added in v0.39.0

func (*StatusCheckEvent) ProtoMessage()

func (*StatusCheckEvent) Reset added in v0.39.0

func (m *StatusCheckEvent) Reset()

func (*StatusCheckEvent) String added in v0.39.0

func (m *StatusCheckEvent) String() string

func (*StatusCheckEvent) XXX_DiscardUnknown added in v0.39.0

func (m *StatusCheckEvent) XXX_DiscardUnknown()

func (*StatusCheckEvent) XXX_Marshal added in v0.39.0

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

func (*StatusCheckEvent) XXX_Merge added in v0.39.0

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

func (*StatusCheckEvent) XXX_Size added in v0.39.0

func (m *StatusCheckEvent) XXX_Size() int

func (*StatusCheckEvent) XXX_Unmarshal added in v0.39.0

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

type StatusCheckState added in v0.39.0

type StatusCheckState struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// A map of `resource name -> status-check-state`. Where `resource-name` is the kubernetes resource name.
	// The `status-check-state` can be <br>
	// - `"Not started"`: indicates that `status-check` has just started. <br>
	// - `"In progress"`: InProgress is sent after every resource check is complete. <br>
	// - `"Succeeded"`:
	// - `"Failed"`:
	Resources map[string]string `` /* 159-byte string literal not displayed */
	// StatusCheck statusCode
	StatusCode           StatusCode `protobuf:"varint,3,opt,name=statusCode,proto3,enum=proto.StatusCode" json:"statusCode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

`StatusCheckState` describes the state of status check of current deployed resources.

func (*StatusCheckState) Descriptor added in v0.39.0

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

func (*StatusCheckState) GetResources added in v0.40.0

func (m *StatusCheckState) GetResources() map[string]string

func (*StatusCheckState) GetStatus added in v0.39.0

func (m *StatusCheckState) GetStatus() string

func (*StatusCheckState) GetStatusCode added in v1.7.1

func (m *StatusCheckState) GetStatusCode() StatusCode

func (*StatusCheckState) ProtoMessage added in v0.39.0

func (*StatusCheckState) ProtoMessage()

func (*StatusCheckState) Reset added in v0.39.0

func (m *StatusCheckState) Reset()

func (*StatusCheckState) String added in v0.39.0

func (m *StatusCheckState) String() string

func (*StatusCheckState) XXX_DiscardUnknown added in v0.39.0

func (m *StatusCheckState) XXX_DiscardUnknown()

func (*StatusCheckState) XXX_Marshal added in v0.39.0

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

func (*StatusCheckState) XXX_Merge added in v0.39.0

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

func (*StatusCheckState) XXX_Size added in v0.39.0

func (m *StatusCheckState) XXX_Size() int

func (*StatusCheckState) XXX_Unmarshal added in v0.39.0

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

type StatusCode added in v1.7.1

type StatusCode int32

Enum for Status codes These error codes are prepended by Phase Name e.g. BUILD, DEPLOY, STATUSCHECK, DEVINIT

const (
	// A default status code for events that do not have an associated phase.
	// Typically seen with the DevEndEvent event on success.
	StatusCode_OK StatusCode = 0
	// Status Check Success
	StatusCode_STATUSCHECK_SUCCESS StatusCode = 200
	// Build Success
	StatusCode_BUILD_SUCCESS StatusCode = 201
	// Deploy Success
	StatusCode_DEPLOY_SUCCESS StatusCode = 202
	// Build error due to push access denied
	StatusCode_BUILD_PUSH_ACCESS_DENIED StatusCode = 101
	// Build error due to GCP project not found.
	StatusCode_BUILD_PROJECT_NOT_FOUND StatusCode = 102
	// Container image pull error
	StatusCode_STATUSCHECK_IMAGE_PULL_ERR StatusCode = 300
	// Container creating error
	StatusCode_STATUSCHECK_CONTAINER_CREATING StatusCode = 301
	// Container run error
	StatusCode_STATUSCHECK_RUN_CONTAINER_ERR StatusCode = 302
	// Container is already terminated
	StatusCode_STATUSCHECK_CONTAINER_TERMINATED StatusCode = 303
	// Deployment waiting for rollout
	StatusCode_STATUSCHECK_DEPLOYMENT_ROLLOUT_PENDING StatusCode = 304
	// Container restarting error
	StatusCode_STATUSCHECK_CONTAINER_RESTARTING StatusCode = 356
	// Readiness probe failed
	StatusCode_STATUSCHECK_UNHEALTHY StatusCode = 357
	// Node memory pressure error
	StatusCode_STATUSCHECK_NODE_MEMORY_PRESSURE StatusCode = 400
	// Node disk pressure error
	StatusCode_STATUSCHECK_NODE_DISK_PRESSURE StatusCode = 401
	// Node network unavailable error
	StatusCode_STATUSCHECK_NODE_NETWORK_UNAVAILABLE StatusCode = 402
	// Node PID pressure error
	StatusCode_STATUSCHECK_NODE_PID_PRESSURE StatusCode = 403
	// Node unschedulable error
	StatusCode_STATUSCHECK_NODE_UNSCHEDULABLE StatusCode = 404
	// Node unreachable error
	StatusCode_STATUSCHECK_NODE_UNREACHABLE StatusCode = 405
	// Node not ready error
	StatusCode_STATUSCHECK_NODE_NOT_READY StatusCode = 406
	// Scheduler failure error
	StatusCode_STATUSCHECK_FAILED_SCHEDULING StatusCode = 407
	// Kubectl connection error
	StatusCode_STATUSCHECK_KUBECTL_CONNECTION_ERR StatusCode = 409
	// Kubectl process killed error
	StatusCode_STATUSCHECK_KUBECTL_PID_KILLED StatusCode = 410
	// Kubectl client fetch err
	StatusCode_STATUSCHECK_KUBECTL_CLIENT_FETCH_ERR StatusCode = 411
	StatusCode_STATUSCHECK_DEPLOYMENT_FETCH_ERR     StatusCode = 412
	// Pod Initializing
	StatusCode_STATUSCHECK_POD_INITIALIZING StatusCode = 451
	// Could not determine error and phase
	StatusCode_UNKNOWN_ERROR StatusCode = 500
	// Status Check error unknown
	StatusCode_STATUSCHECK_UNKNOWN StatusCode = 501
	// Container is unschedulable due to unknown reasons
	StatusCode_STATUSCHECK_UNKNOWN_UNSCHEDULABLE StatusCode = 502
	// Container is waiting due to unknown reason
	StatusCode_STATUSCHECK_CONTAINER_WAITING_UNKNOWN StatusCode = 503
	// Container event reason unknown
	StatusCode_STATUSCHECK_UNKNOWN_EVENT StatusCode = 509
	// Deploy failed due to unknown reason
	StatusCode_DEPLOY_UNKNOWN StatusCode = 504
	// SYNC failed due to known reason
	StatusCode_SYNC_UNKNOWN StatusCode = 505
	// Build failed due to unknown reason
	StatusCode_BUILD_UNKNOWN StatusCode = 506
	// Dev Init failed due to unknown reason
	StatusCode_DEVINIT_UNKNOWN StatusCode = 507
	// Cleanup failed due to unknown reason
	StatusCode_CLEANUP_UNKNOWN StatusCode = 508
	// File Sync Initialize failure
	StatusCode_SYNC_INIT_ERROR StatusCode = 601
	// Failed to configure watcher for build dependencies in dev loop
	StatusCode_DEVINIT_REGISTER_BUILD_DEPS StatusCode = 701
	// Failed to configure watcher for test dependencies in dev loop
	StatusCode_DEVINIT_REGISTER_TEST_DEPS StatusCode = 702
	// Failed to configure watcher for deploy dependencies in dev loop
	StatusCode_DEVINIT_REGISTER_DEPLOY_DEPS StatusCode = 703
	// Failed to configure watcher for Skaffold configuration file.
	StatusCode_DEVINIT_REGISTER_CONFIG_DEP StatusCode = 704
	// User cancelled the skaffold dev run
	StatusCode_STATUSCHECK_USER_CANCELLED StatusCode = 800
	// Deadline for status check exceeded
	StatusCode_STATUSCHECK_DEADLINE_EXCEEDED StatusCode = 801
)

func (StatusCode) EnumDescriptor added in v1.7.1

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

func (StatusCode) String added in v1.7.1

func (x StatusCode) String() string

type Suggestion added in v1.7.1

type Suggestion struct {
	SuggestionCode       SuggestionCode `protobuf:"varint,1,opt,name=suggestionCode,proto3,enum=proto.SuggestionCode" json:"suggestionCode,omitempty"`
	Action               string         `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Suggestion defines the action a user needs to recover from an error.

func (*Suggestion) Descriptor added in v1.7.1

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

func (*Suggestion) GetAction added in v1.7.1

func (m *Suggestion) GetAction() string

func (*Suggestion) GetSuggestionCode added in v1.7.1

func (m *Suggestion) GetSuggestionCode() SuggestionCode

func (*Suggestion) ProtoMessage added in v1.7.1

func (*Suggestion) ProtoMessage()

func (*Suggestion) Reset added in v1.7.1

func (m *Suggestion) Reset()

func (*Suggestion) String added in v1.7.1

func (m *Suggestion) String() string

func (*Suggestion) XXX_DiscardUnknown added in v1.7.1

func (m *Suggestion) XXX_DiscardUnknown()

func (*Suggestion) XXX_Marshal added in v1.7.1

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

func (*Suggestion) XXX_Merge added in v1.7.1

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

func (*Suggestion) XXX_Size added in v1.7.1

func (m *Suggestion) XXX_Size() int

func (*Suggestion) XXX_Unmarshal added in v1.7.1

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

type SuggestionCode added in v1.7.1

type SuggestionCode int32

Enum for Suggestion codes

const (
	// default nil suggestion.
	// This is usually set when no error happens.
	SuggestionCode_NIL SuggestionCode = 0
	// Build error suggestion codes
	SuggestionCode_ADD_DEFAULT_REPO                 SuggestionCode = 100
	SuggestionCode_CHECK_DEFAULT_REPO               SuggestionCode = 101
	SuggestionCode_CHECK_DEFAULT_REPO_GLOBAL_CONFIG SuggestionCode = 102
	SuggestionCode_GCLOUD_DOCKER_AUTH_CONFIGURE     SuggestionCode = 103
	SuggestionCode_DOCKER_AUTH_CONFIGURE            SuggestionCode = 104
	SuggestionCode_CHECK_GCLOUD_PROJECT             SuggestionCode = 105
	// Container run error
	SuggestionCode_CHECK_CONTAINER_LOGS SuggestionCode = 301
	// Pod Health check error
	SuggestionCode_CHECK_READINESS_PROBE SuggestionCode = 302
	// Check Container image
	SuggestionCode_CHECK_CONTAINER_IMAGE SuggestionCode = 303
	// Node pressure error
	SuggestionCode_ADDRESS_NODE_MEMORY_PRESSURE SuggestionCode = 400
	// Node disk pressure error
	SuggestionCode_ADDRESS_NODE_DISK_PRESSURE SuggestionCode = 401
	// Node network unavailable error
	SuggestionCode_ADDRESS_NODE_NETWORK_UNAVAILABLE SuggestionCode = 402
	// Node PID pressure error
	SuggestionCode_ADDRESS_NODE_PID_PRESSURE SuggestionCode = 403
	// Node unschedulable error
	SuggestionCode_ADDRESS_NODE_UNSCHEDULABLE SuggestionCode = 404
	// Node unreachable error
	SuggestionCode_ADDRESS_NODE_UNREACHABLE SuggestionCode = 405
	// Node not ready error
	SuggestionCode_ADDRESS_NODE_NOT_READY SuggestionCode = 406
	// Scheduler failure error
	SuggestionCode_ADDRESS_FAILED_SCHEDULING SuggestionCode = 407
	// Cluster Connectivity error
	SuggestionCode_CHECK_HOST_CONNECTION SuggestionCode = 408
)

func (SuggestionCode) EnumDescriptor added in v1.7.1

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

func (SuggestionCode) String added in v1.7.1

func (x SuggestionCode) String() string

type TriggerRequest added in v1.7.1

type TriggerRequest struct {
	State                *TriggerState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*TriggerRequest) Descriptor added in v1.7.1

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

func (*TriggerRequest) GetState added in v1.7.1

func (m *TriggerRequest) GetState() *TriggerState

func (*TriggerRequest) ProtoMessage added in v1.7.1

func (*TriggerRequest) ProtoMessage()

func (*TriggerRequest) Reset added in v1.7.1

func (m *TriggerRequest) Reset()

func (*TriggerRequest) String added in v1.7.1

func (m *TriggerRequest) String() string

func (*TriggerRequest) XXX_DiscardUnknown added in v1.7.1

func (m *TriggerRequest) XXX_DiscardUnknown()

func (*TriggerRequest) XXX_Marshal added in v1.7.1

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

func (*TriggerRequest) XXX_Merge added in v1.7.1

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

func (*TriggerRequest) XXX_Size added in v1.7.1

func (m *TriggerRequest) XXX_Size() int

func (*TriggerRequest) XXX_Unmarshal added in v1.7.1

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

type TriggerState added in v1.7.1

type TriggerState struct {
	// Types that are valid to be assigned to Val:
	//	*TriggerState_Enabled
	Val                  isTriggerState_Val `protobuf_oneof:"val"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

TriggerState represents trigger state for a given phase.

func (*TriggerState) Descriptor added in v1.7.1

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

func (*TriggerState) GetEnabled added in v1.7.1

func (m *TriggerState) GetEnabled() bool

func (*TriggerState) GetVal added in v1.7.1

func (m *TriggerState) GetVal() isTriggerState_Val

func (*TriggerState) ProtoMessage added in v1.7.1

func (*TriggerState) ProtoMessage()

func (*TriggerState) Reset added in v1.7.1

func (m *TriggerState) Reset()

func (*TriggerState) String added in v1.7.1

func (m *TriggerState) String() string

func (*TriggerState) XXX_DiscardUnknown added in v1.7.1

func (m *TriggerState) XXX_DiscardUnknown()

func (*TriggerState) XXX_Marshal added in v1.7.1

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

func (*TriggerState) XXX_Merge added in v1.7.1

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

func (*TriggerState) XXX_OneofWrappers added in v1.7.1

func (*TriggerState) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TriggerState) XXX_Size added in v1.7.1

func (m *TriggerState) XXX_Size() int

func (*TriggerState) XXX_Unmarshal added in v1.7.1

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

type TriggerState_Enabled added in v1.7.1

type TriggerState_Enabled struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof"`
}

type UnimplementedSkaffoldServiceServer

type UnimplementedSkaffoldServiceServer struct {
}

UnimplementedSkaffoldServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSkaffoldServiceServer) AutoBuild added in v1.7.1

func (*UnimplementedSkaffoldServiceServer) AutoDeploy added in v1.7.1

func (*UnimplementedSkaffoldServiceServer) AutoSync added in v1.7.1

func (*UnimplementedSkaffoldServiceServer) EventLog

func (*UnimplementedSkaffoldServiceServer) Events

func (*UnimplementedSkaffoldServiceServer) Execute added in v0.34.1

func (*UnimplementedSkaffoldServiceServer) GetState

func (*UnimplementedSkaffoldServiceServer) Handle

type UserIntentRequest added in v0.34.1

type UserIntentRequest struct {
	Intent               *Intent  `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserIntentRequest) Descriptor added in v0.34.1

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

func (*UserIntentRequest) GetIntent added in v0.34.1

func (m *UserIntentRequest) GetIntent() *Intent

func (*UserIntentRequest) ProtoMessage added in v0.34.1

func (*UserIntentRequest) ProtoMessage()

func (*UserIntentRequest) Reset added in v0.34.1

func (m *UserIntentRequest) Reset()

func (*UserIntentRequest) String added in v0.34.1

func (m *UserIntentRequest) String() string

func (*UserIntentRequest) XXX_DiscardUnknown added in v0.34.1

func (m *UserIntentRequest) XXX_DiscardUnknown()

func (*UserIntentRequest) XXX_Marshal added in v0.34.1

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

func (*UserIntentRequest) XXX_Merge added in v0.34.1

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

func (*UserIntentRequest) XXX_Size added in v0.34.1

func (m *UserIntentRequest) XXX_Size() int

func (*UserIntentRequest) XXX_Unmarshal added in v0.34.1

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

Jump to

Keyboard shortcuts

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