proto

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 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{}/* 108 elements not displayed */
View Source
var StatusCode_value = map[string]int32{}/* 108 elements not displayed */
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",
	106: "CHECK_DOCKER_RUNNING",
	107: "FIX_USER_BUILD_ERR",
	108: "DOCKER_BUILD_RETRY",
	109: "FIX_CACHE_FROM_ARTIFACT_CONFIG",
	110: "FIX_SKAFFOLD_CONFIG_DOCKERFILE",
	111: "FIX_JIB_PLUGIN_CONFIGURATION",
	112: "FIX_DOCKER_NETWORK_CONTAINER_NAME",
	113: "CHECK_DOCKER_NETWORK_CONTAINER_RUNNING",
	201: "CHECK_CLUSTER_CONNECTION",
	202: "CHECK_MINIKUBE_STATUS",
	203: "INSTALL_HELM",
	204: "UPGRADE_HELM",
	205: "FIX_SKAFFOLD_CONFIG_HELM_ARTIFACT_OVERRIDES",
	206: "UPGRADE_HELM32",
	207: "FIX_SKAFFOLD_CONFIG_HELM_CREATE_NAMESPACE",
	220: "INSTALL_KUBECTL",
	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",
	501: "START_MINIKUBE",
	502: "UNPAUSE_MINIKUBE",
	551: "RUN_DOCKER_PULL",
	600: "SET_RENDER_FLAG_OFFLINE_FALSE",
	900: "OPEN_ISSUE",
}
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_DOCKER_RUNNING":                        106,
	"FIX_USER_BUILD_ERR":                          107,
	"DOCKER_BUILD_RETRY":                          108,
	"FIX_CACHE_FROM_ARTIFACT_CONFIG":              109,
	"FIX_SKAFFOLD_CONFIG_DOCKERFILE":              110,
	"FIX_JIB_PLUGIN_CONFIGURATION":                111,
	"FIX_DOCKER_NETWORK_CONTAINER_NAME":           112,
	"CHECK_DOCKER_NETWORK_CONTAINER_RUNNING":      113,
	"CHECK_CLUSTER_CONNECTION":                    201,
	"CHECK_MINIKUBE_STATUS":                       202,
	"INSTALL_HELM":                                203,
	"UPGRADE_HELM":                                204,
	"FIX_SKAFFOLD_CONFIG_HELM_ARTIFACT_OVERRIDES": 205,
	"UPGRADE_HELM32":                              206,
	"FIX_SKAFFOLD_CONFIG_HELM_CREATE_NAMESPACE":   207,
	"INSTALL_KUBECTL":                             220,
	"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,
	"START_MINIKUBE":                              501,
	"UNPAUSE_MINIKUBE":                            502,
	"RUN_DOCKER_PULL":                             551,
	"SET_RENDER_FLAG_OFFLINE_FALSE":               600,
	"OPEN_ISSUE":                                  900,
}
View Source
var TesterType_name = map[int32]string{
	0: "UNKNOWN_TEST_TYPE",
	1: "UNIT",
	2: "CONTAINER_STRUCTURE_TEST",
}
View Source
var TesterType_value = map[string]int32{
	"UNKNOWN_TEST_TYPE":        0,
	"UNIT":                     1,
	"CONTAINER_STRUCTURE_TEST": 2,
}

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
	//	*Event_TerminationEvent
	//	*Event_TestEvent
	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, TestEvent, 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) GetTerminationEvent added in v1.7.1

func (m *Event) GetTerminationEvent() *TerminationEvent

func (*Event) GetTestEvent added in v1.19.0

func (m *Event) GetTestEvent() *TestEvent

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 Event_TerminationEvent added in v1.7.1

type Event_TerminationEvent struct {
	TerminationEvent *TerminationEvent `protobuf:"bytes,10,opt,name=terminationEvent,proto3,oneof"`
}

type Event_TestEvent added in v1.19.0

type Event_TestEvent struct {
	TestEvent *TestEvent `protobuf:"bytes,11,opt,name=TestEvent,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 IntOrString added in v1.7.1

type IntOrString struct {
	Type                 int32    `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	IntVal               int32    `protobuf:"varint,2,opt,name=intVal,proto3" json:"intVal,omitempty"`
	StrVal               string   `protobuf:"bytes,3,opt,name=strVal,proto3" json:"strVal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IntOrString is a type that can hold an int32 or a string.

func (*IntOrString) Descriptor added in v1.7.1

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

func (*IntOrString) GetIntVal added in v1.7.1

func (m *IntOrString) GetIntVal() int32

func (*IntOrString) GetStrVal added in v1.7.1

func (m *IntOrString) GetStrVal() string

func (*IntOrString) GetType added in v1.7.1

func (m *IntOrString) GetType() int32

func (*IntOrString) ProtoMessage added in v1.7.1

func (*IntOrString) ProtoMessage()

func (*IntOrString) Reset added in v1.7.1

func (m *IntOrString) Reset()

func (*IntOrString) String added in v1.7.1

func (m *IntOrString) String() string

func (*IntOrString) XXX_DiscardUnknown added in v1.7.1

func (m *IntOrString) XXX_DiscardUnknown()

func (*IntOrString) XXX_Marshal added in v1.7.1

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

func (*IntOrString) XXX_Merge added in v1.7.1

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

func (*IntOrString) XXX_Size added in v1.7.1

func (m *IntOrString) XXX_Size() int

func (*IntOrString) XXX_Unmarshal added in v1.7.1

func (m *IntOrString) 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"`
	Test   *TestMetadata   `protobuf:"bytes,3,opt,name=test,proto3" json:"test,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) GetTest added in v1.19.0

func (m *Metadata) GetTest() *TestMetadata

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"`
	TargetPort           *IntOrString `protobuf:"bytes,10,opt,name=targetPort,proto3" json:"targetPort,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) GetTargetPort added in v1.7.1

func (m *PortEvent) GetTargetPort() *IntOrString

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"`
	TestState            *TestState                 `protobuf:"bytes,9,opt,name=testState,proto3" json:"testState,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) GetTestState added in v1.19.0

func (m *State) GetTestState() *TestState

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<br> These error codes are prepended by Phase Name e.g. INIT, BUILD, TEST, DEPLOY, STATUSCHECK, DEVINIT<br> For Success Error codes, use range 200 to 250.<br> For Unknown error codes, use range 500 to 600.<br> For Cancelled Error code, use range 800 to 850.<br>

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
	// Test Success
	StatusCode_TEST_SUCCESS StatusCode = 203
	// 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
	// Docker build error due to docker daemon not running
	StatusCode_BUILD_DOCKER_DAEMON_NOT_RUNNING StatusCode = 103
	// Build error due to user application code, e.g. compilation error, dockerfile error etc
	StatusCode_BUILD_USER_ERROR StatusCode = 104
	// Build error due to docker not available
	StatusCode_BUILD_DOCKER_UNAVAILABLE StatusCode = 105
	// Docker build error due to user not authorized to perform the action
	StatusCode_BUILD_DOCKER_UNAUTHORIZED StatusCode = 106
	// Docker system build error
	StatusCode_BUILD_DOCKER_SYSTEM_ERR StatusCode = 107
	// Docker build error due to Docker build container is already in the desired state
	StatusCode_BUILD_DOCKER_NOT_MODIFIED_ERR StatusCode = 108
	// Docker build error indicating a feature not supported
	StatusCode_BUILD_DOCKER_NOT_IMPLEMENTED_ERR StatusCode = 109
	// Docker build error indicates that for given build, data was lost or there is data corruption
	StatusCode_BUILD_DOCKER_DATA_LOSS_ERR StatusCode = 110
	// Docker build error indicates user is forbidden to perform the build or step/action.
	StatusCode_BUILD_DOCKER_FORBIDDEN_ERR StatusCode = 111
	// Docker build error due to some internal error and docker container state conflicts with the requested action and can't be performed
	StatusCode_BUILD_DOCKER_CONFLICT_ERR StatusCode = 112
	// Docker build error indicates the requested object does not exist
	StatusCode_BUILD_DOCKER_ERROR_NOT_FOUND StatusCode = 113
	// Docker build error indication invalid parameter sent to docker command
	StatusCode_BUILD_DOCKER_INVALID_PARAM_ERR StatusCode = 114
	// Docker build failed due to dockerfile not found
	StatusCode_BUILD_DOCKERFILE_NOT_FOUND StatusCode = 115
	// Docker build failed due `cacheFrom` user config error
	StatusCode_BUILD_DOCKER_CACHE_FROM_PULL_ERR StatusCode = 116
	// Build error due to digest for built artifact could not be retrieved from docker daemon.
	StatusCode_BUILD_DOCKER_GET_DIGEST_ERR StatusCode = 117
	// Build error due to digest for built artifact could not be retrieved from registry.
	StatusCode_BUILD_REGISTRY_GET_DIGEST_ERR StatusCode = 118
	// Build error indicating unknown Jib plugin type. Should be one of [maven, gradle]
	StatusCode_BUILD_UNKNOWN_JIB_PLUGIN_TYPE StatusCode = 119
	// Build error determining dependency for jib gradle project.
	StatusCode_BUILD_JIB_GRADLE_DEP_ERR StatusCode = 120
	// Build error determining dependency for jib gradle project.
	StatusCode_BUILD_JIB_MAVEN_DEP_ERR StatusCode = 121
	// Docker build error when listing containers.
	StatusCode_INIT_DOCKER_NETWORK_LISTING_CONTAINERS StatusCode = 122
	// Docker build error indicating an invalid container name (or id).
	StatusCode_INIT_DOCKER_NETWORK_INVALID_CONTAINER_NAME StatusCode = 123
	// Docker build error indicating the container referenced does not exists in the docker context used.
	StatusCode_INIT_DOCKER_NETWORK_CONTAINER_DOES_NOT_EXIST StatusCode = 124
	// 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
	// Initialization of the Skaffold session failed due to unknown reason(s)
	StatusCode_INIT_UNKNOWN StatusCode = 510
	// Build failed due to docker unknown error
	StatusCode_BUILD_DOCKER_UNKNOWN StatusCode = 511
	// Test failed due to unknown reason
	StatusCode_TEST_UNKNOWN StatusCode = 512
	// 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
	// Failed to configure watcher for build dependencies for a base image with v1 manifest.
	StatusCode_DEVINIT_UNSUPPORTED_V1_MANIFEST StatusCode = 705
	// User cancelled the skaffold dev run
	StatusCode_STATUSCHECK_USER_CANCELLED StatusCode = 800
	// Deadline for status check exceeded
	StatusCode_STATUSCHECK_DEADLINE_EXCEEDED StatusCode = 801
	// Build Cancelled
	StatusCode_BUILD_CANCELLED StatusCode = 802
	// Deploy cancelled due to user cancellation or one or more deployers failed.
	StatusCode_DEPLOY_CANCELLED StatusCode = 803
	// Docker build cancelled.
	StatusCode_BUILD_DOCKER_CANCELLED StatusCode = 804
	// Build error due to docker deadline was reached before the docker action completed
	StatusCode_BUILD_DOCKER_DEADLINE StatusCode = 805
	// Skaffold was unable to create the configured tagger
	StatusCode_INIT_CREATE_TAGGER_ERROR StatusCode = 901
	// Skaffold was unable to start as Minikube appears to be paused
	StatusCode_INIT_MINIKUBE_PAUSED_ERROR StatusCode = 902
	// Skaffold was unable to start as Minikube appears to be stopped
	StatusCode_INIT_MINIKUBE_NOT_RUNNING_ERROR StatusCode = 903
	// Skaffold was unable to create a configured image builder
	StatusCode_INIT_CREATE_BUILDER_ERROR StatusCode = 904
	// Skaffold was unable to create a configured deployer
	StatusCode_INIT_CREATE_DEPLOYER_ERROR StatusCode = 905
	// Skaffold was unable to create a configured test
	StatusCode_INIT_CREATE_TEST_DEP_ERROR StatusCode = 906
	// Skaffold encountered an error validating the artifact cache
	StatusCode_INIT_CACHE_ERROR StatusCode = 907
	// Skaffold encountered an error when configuring file watching
	StatusCode_INIT_CREATE_WATCH_TRIGGER_ERROR StatusCode = 908
	// Skaffold encountered an error when evaluating artifact dependencies
	StatusCode_INIT_CREATE_ARTIFACT_DEP_ERROR StatusCode = 909
	// Unable to connect to cluster
	StatusCode_DEPLOY_CLUSTER_CONNECTION_ERR StatusCode = 1001
	// Could not retrieve debug helpers.
	StatusCode_DEPLOY_DEBUG_HELPER_RETRIEVE_ERR StatusCode = 1002
	// Deploy clean up error
	StatusCode_DEPLOY_CLEANUP_ERR StatusCode = 1003
	// Unable to apply helm labels.
	StatusCode_DEPLOY_HELM_APPLY_LABELS StatusCode = 1004
	// Deploy error due to user deploy config for helm deployer
	StatusCode_DEPLOY_HELM_USER_ERR StatusCode = 1005
	// Helm error when no build result is found of value  specified in helm `artifactOverrides`
	StatusCode_DEPLOY_NO_MATCHING_BUILD StatusCode = 1006
	// Unable to get helm client version
	StatusCode_DEPLOY_HELM_VERSION_ERR StatusCode = 1007
	// Helm version not supported.
	StatusCode_DEPLOY_HELM_MIN_VERSION_ERR StatusCode = 1008
	// Unable to retrieve kubectl version
	StatusCode_DEPLOY_KUBECTL_VERSION_ERR StatusCode = 1109
	// User specified offline mode for rendering but remote manifests presents.
	StatusCode_DEPLOY_KUBECTL_OFFLINE_MODE_ERR StatusCode = 1010
	// Error waiting for previous version deletion before next version is active.
	StatusCode_DEPLOY_ERR_WAITING_FOR_DELETION StatusCode = 1011
	// Error reading manifests
	StatusCode_DEPLOY_READ_MANIFEST_ERR StatusCode = 1012
	// Error reading remote manifests
	StatusCode_DEPLOY_READ_REMOTE_MANIFEST_ERR StatusCode = 1013
	// Errors listing manifests
	StatusCode_DEPLOY_LIST_MANIFEST_ERR StatusCode = 1014
	// Deploy error due to user deploy config for kubectl deployer
	StatusCode_DEPLOY_KUBECTL_USER_ERR StatusCode = 1015
	// Deploy error due to user deploy config for kustomize deployer
	StatusCode_DEPLOY_KUSTOMIZE_USER_ERR StatusCode = 1016
	// Error replacing a built artifact in the manifests
	StatusCode_DEPLOY_REPLACE_IMAGE_ERR StatusCode = 1017
	// Error transforming a manifest during skaffold debug
	StatusCode_DEPLOY_TRANSFORM_MANIFEST_ERR StatusCode = 1018
	// Error setting user specified additional labels.
	StatusCode_DEPLOY_SET_LABEL_ERR StatusCode = 1019
	// Error writing hydrated kubernetes manifests.
	StatusCode_DEPLOY_MANIFEST_WRITE_ERR StatusCode = 1020
	// Error getting images from a kubernetes manifest.
	StatusCode_DEPLOY_PARSE_MANIFEST_IMAGES_ERR StatusCode = 1021
	// Helm config `createNamespace` not available
	StatusCode_DEPLOY_HELM_CREATE_NS_NOT_AVAILABLE StatusCode = 1022
	// Error expanding paths
	StatusCode_TEST_USER_CONFIG_ERR StatusCode = 1101
	// Error running container-structure-test
	StatusCode_TEST_CST_USER_ERR StatusCode = 1102
	// Unable to docker pull image
	StatusCode_TEST_IMG_PULL_ERR StatusCode = 1103
)

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
	// Add Default Repo
	SuggestionCode_ADD_DEFAULT_REPO SuggestionCode = 100
	// Verify Default Repo
	SuggestionCode_CHECK_DEFAULT_REPO SuggestionCode = 101
	// Verify default repo in the global config
	SuggestionCode_CHECK_DEFAULT_REPO_GLOBAL_CONFIG SuggestionCode = 102
	// run gcloud docker auth configure
	SuggestionCode_GCLOUD_DOCKER_AUTH_CONFIGURE SuggestionCode = 103
	// Run docker auth configure
	SuggestionCode_DOCKER_AUTH_CONFIGURE SuggestionCode = 104
	// Verify Gcloud Project
	SuggestionCode_CHECK_GCLOUD_PROJECT SuggestionCode = 105
	// Check if docker is running
	SuggestionCode_CHECK_DOCKER_RUNNING SuggestionCode = 106
	// Fix User Build Error
	SuggestionCode_FIX_USER_BUILD_ERR SuggestionCode = 107
	// Docker build internal error, try again
	SuggestionCode_DOCKER_BUILD_RETRY SuggestionCode = 108
	// Fix `cacheFrom` config for given artifact and try again
	SuggestionCode_FIX_CACHE_FROM_ARTIFACT_CONFIG SuggestionCode = 109
	// Fix `dockerfile` config for a given artifact and try again.
	SuggestionCode_FIX_SKAFFOLD_CONFIG_DOCKERFILE SuggestionCode = 110
	// Use a supported Jib plugin type
	SuggestionCode_FIX_JIB_PLUGIN_CONFIGURATION SuggestionCode = 111
	// Docker build network invalid docker container name (or id).
	SuggestionCode_FIX_DOCKER_NETWORK_CONTAINER_NAME SuggestionCode = 112
	// Docker build network container not existing in the current context.
	SuggestionCode_CHECK_DOCKER_NETWORK_CONTAINER_RUNNING SuggestionCode = 113
	// Check cluster connection
	SuggestionCode_CHECK_CLUSTER_CONNECTION SuggestionCode = 201
	// Check minikube status
	SuggestionCode_CHECK_MINIKUBE_STATUS SuggestionCode = 202
	// Install helm tool
	SuggestionCode_INSTALL_HELM SuggestionCode = 203
	// Upgrade helm tool
	SuggestionCode_UPGRADE_HELM SuggestionCode = 204
	// Fix helm `releases.artifactOverrides` config to match with `build.artiofacts`
	SuggestionCode_FIX_SKAFFOLD_CONFIG_HELM_ARTIFACT_OVERRIDES SuggestionCode = 205
	// Upgrade helm version to v3.2.0 and higher.
	SuggestionCode_UPGRADE_HELM32 SuggestionCode = 206
	// Set `releases.createNamespace` to false.
	SuggestionCode_FIX_SKAFFOLD_CONFIG_HELM_CREATE_NAMESPACE SuggestionCode = 207
	// Install kubectl tool
	SuggestionCode_INSTALL_KUBECTL SuggestionCode = 220
	// 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
	// Minikube is stopped: use `minikube start`
	SuggestionCode_START_MINIKUBE SuggestionCode = 501
	// Minikube is paused: use `minikube unpause`
	SuggestionCode_UNPAUSE_MINIKUBE SuggestionCode = 502
	// Run Docker pull for the image with v1 manifest and try again.
	SuggestionCode_RUN_DOCKER_PULL SuggestionCode = 551
	// Rerun with correct offline flag value.
	SuggestionCode_SET_RENDER_FLAG_OFFLINE_FALSE SuggestionCode = 600
	// Open an issue so this situation can be diagnosed
	SuggestionCode_OPEN_ISSUE SuggestionCode = 900
)

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 TerminationEvent added in v1.7.1

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

`TerminationEvent` marks the end of the skaffold session

func (*TerminationEvent) Descriptor added in v1.7.1

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

func (*TerminationEvent) GetErr added in v1.7.1

func (m *TerminationEvent) GetErr() *ActionableErr

func (*TerminationEvent) GetStatus added in v1.7.1

func (m *TerminationEvent) GetStatus() string

func (*TerminationEvent) ProtoMessage added in v1.7.1

func (*TerminationEvent) ProtoMessage()

func (*TerminationEvent) Reset added in v1.7.1

func (m *TerminationEvent) Reset()

func (*TerminationEvent) String added in v1.7.1

func (m *TerminationEvent) String() string

func (*TerminationEvent) XXX_DiscardUnknown added in v1.7.1

func (m *TerminationEvent) XXX_DiscardUnknown()

func (*TerminationEvent) XXX_Marshal added in v1.7.1

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

func (*TerminationEvent) XXX_Merge added in v1.7.1

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

func (*TerminationEvent) XXX_Size added in v1.7.1

func (m *TerminationEvent) XXX_Size() int

func (*TerminationEvent) XXX_Unmarshal added in v1.7.1

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

type TestEvent added in v1.19.0

type TestEvent struct {
	Status               string         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	ActionableErr        *ActionableErr `protobuf:"bytes,2,opt,name=actionableErr,proto3" json:"actionableErr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

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

func (*TestEvent) Descriptor added in v1.19.0

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

func (*TestEvent) GetActionableErr added in v1.19.0

func (m *TestEvent) GetActionableErr() *ActionableErr

func (*TestEvent) GetStatus added in v1.19.0

func (m *TestEvent) GetStatus() string

func (*TestEvent) ProtoMessage added in v1.19.0

func (*TestEvent) ProtoMessage()

func (*TestEvent) Reset added in v1.19.0

func (m *TestEvent) Reset()

func (*TestEvent) String added in v1.19.0

func (m *TestEvent) String() string

func (*TestEvent) XXX_DiscardUnknown added in v1.19.0

func (m *TestEvent) XXX_DiscardUnknown()

func (*TestEvent) XXX_Marshal added in v1.19.0

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

func (*TestEvent) XXX_Merge added in v1.19.0

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

func (*TestEvent) XXX_Size added in v1.19.0

func (m *TestEvent) XXX_Size() int

func (*TestEvent) XXX_Unmarshal added in v1.19.0

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

type TestMetadata added in v1.19.0

type TestMetadata struct {
	Testers              []*TestMetadata_Tester `protobuf:"bytes,1,rep,name=Testers,proto3" json:"Testers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

TestMetadata describes the test pipeline

func (*TestMetadata) Descriptor added in v1.19.0

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

func (*TestMetadata) GetTesters added in v1.19.0

func (m *TestMetadata) GetTesters() []*TestMetadata_Tester

func (*TestMetadata) ProtoMessage added in v1.19.0

func (*TestMetadata) ProtoMessage()

func (*TestMetadata) Reset added in v1.19.0

func (m *TestMetadata) Reset()

func (*TestMetadata) String added in v1.19.0

func (m *TestMetadata) String() string

func (*TestMetadata) XXX_DiscardUnknown added in v1.19.0

func (m *TestMetadata) XXX_DiscardUnknown()

func (*TestMetadata) XXX_Marshal added in v1.19.0

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

func (*TestMetadata) XXX_Merge added in v1.19.0

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

func (*TestMetadata) XXX_Size added in v1.19.0

func (m *TestMetadata) XXX_Size() int

func (*TestMetadata) XXX_Unmarshal added in v1.19.0

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

type TestMetadata_Tester added in v1.19.0

type TestMetadata_Tester struct {
	Type                 TesterType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.TesterType" 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 (*TestMetadata_Tester) Descriptor added in v1.19.0

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

func (*TestMetadata_Tester) GetCount added in v1.19.0

func (m *TestMetadata_Tester) GetCount() int32

func (*TestMetadata_Tester) GetType added in v1.19.0

func (m *TestMetadata_Tester) GetType() TesterType

func (*TestMetadata_Tester) ProtoMessage added in v1.19.0

func (*TestMetadata_Tester) ProtoMessage()

func (*TestMetadata_Tester) Reset added in v1.19.0

func (m *TestMetadata_Tester) Reset()

func (*TestMetadata_Tester) String added in v1.19.0

func (m *TestMetadata_Tester) String() string

func (*TestMetadata_Tester) XXX_DiscardUnknown added in v1.19.0

func (m *TestMetadata_Tester) XXX_DiscardUnknown()

func (*TestMetadata_Tester) XXX_Marshal added in v1.19.0

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

func (*TestMetadata_Tester) XXX_Merge added in v1.19.0

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

func (*TestMetadata_Tester) XXX_Size added in v1.19.0

func (m *TestMetadata_Tester) XXX_Size() int

func (*TestMetadata_Tester) XXX_Unmarshal added in v1.19.0

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

type TestState added in v1.19.0

type TestState struct {
	// Status of the current test
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Teststate status code
	StatusCode           StatusCode `protobuf:"varint,2,opt,name=statusCode,proto3,enum=proto.StatusCode" json:"statusCode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

`TestState` describes the current state of the test

func (*TestState) Descriptor added in v1.19.0

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

func (*TestState) GetStatus added in v1.19.0

func (m *TestState) GetStatus() string

func (*TestState) GetStatusCode added in v1.19.0

func (m *TestState) GetStatusCode() StatusCode

func (*TestState) ProtoMessage added in v1.19.0

func (*TestState) ProtoMessage()

func (*TestState) Reset added in v1.19.0

func (m *TestState) Reset()

func (*TestState) String added in v1.19.0

func (m *TestState) String() string

func (*TestState) XXX_DiscardUnknown added in v1.19.0

func (m *TestState) XXX_DiscardUnknown()

func (*TestState) XXX_Marshal added in v1.19.0

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

func (*TestState) XXX_Merge added in v1.19.0

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

func (*TestState) XXX_Size added in v1.19.0

func (m *TestState) XXX_Size() int

func (*TestState) XXX_Unmarshal added in v1.19.0

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

type TesterType added in v1.19.0

type TesterType int32

Enum indicating test tools used

const (
	// Could not determine Test Type
	TesterType_UNKNOWN_TEST_TYPE TesterType = 0
	// Unit tests
	TesterType_UNIT TesterType = 1
	// Container Structure tests
	TesterType_CONTAINER_STRUCTURE_TEST TesterType = 2
)

func (TesterType) EnumDescriptor added in v1.19.0

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

func (TesterType) String added in v1.19.0

func (x TesterType) 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