Documentation ¶
Index ¶
- type Pipelines
- func (ps Pipelines) All() []latest.Pipeline
- func (ps Pipelines) Artifacts() []*latest.Artifact
- func (ps Pipelines) DeployConfigs() []latest.DeployConfig
- func (ps Pipelines) Deployers() []latest.DeployConfig
- func (ps Pipelines) Head() latest.Pipeline
- func (ps Pipelines) IsMultiPipeline() bool
- func (ps Pipelines) PortForwardResources() []*latest.PortForwardResource
- func (ps Pipelines) Select(imageName string) (latest.Pipeline, bool)
- func (ps Pipelines) StatusCheckDeadlineSeconds() int
- func (ps Pipelines) TestCases() []*latest.TestCase
- func (ps Pipelines) TransformAllowList() []latest.ResourceFilter
- func (ps Pipelines) TransformDenyList() []latest.ResourceFilter
- type RunContext
- func (rc *RunContext) AddSkaffoldLabels() bool
- func (rc *RunContext) Artifacts() []*latest.Artifact
- func (rc *RunContext) AutoBuild() bool
- func (rc *RunContext) AutoDeploy() bool
- func (rc *RunContext) AutoSync() bool
- func (rc *RunContext) BuildConcurrency() int
- func (rc *RunContext) CacheArtifacts() bool
- func (rc *RunContext) CacheFile() string
- func (rc *RunContext) ConfigurationFile() string
- func (rc *RunContext) ContainerDebugging() bool
- func (rc *RunContext) CustomLabels() []string
- func (rc *RunContext) CustomTag() string
- func (rc *RunContext) DefaultPipeline() latest.Pipeline
- func (rc *RunContext) DefaultRepo() *string
- func (rc *RunContext) DeployConfigs() []latest.DeployConfig
- func (rc *RunContext) Deployers() []latest.DeployConfig
- func (rc *RunContext) DigestSource() string
- func (rc *RunContext) DryRun() bool
- func (rc *RunContext) ForceDeploy() bool
- func (rc *RunContext) ForceLoadImages() bool
- func (rc *RunContext) GetCluster() config.Cluster
- func (rc *RunContext) GetInsecureRegistries() map[string]bool
- func (rc *RunContext) GetKubeConfig() string
- func (rc *RunContext) GetKubeContext() string
- func (rc *RunContext) GetKubeNamespace() string
- func (rc *RunContext) GetNamespace() string
- func (rc *RunContext) GetPipelines() []latest.Pipeline
- func (rc *RunContext) GetRunID() string
- func (rc *RunContext) GetWorkingDir() string
- func (rc *RunContext) GlobalConfig() string
- func (rc *RunContext) HydratedManifests() []string
- func (rc *RunContext) IsDefaultKubeContext() bool
- func (rc *RunContext) IsMultiConfig() bool
- func (rc *RunContext) IsTestPhaseActive() bool
- func (rc *RunContext) IterativeStatusCheck() bool
- func (rc *RunContext) JSONParseConfig() latest.JSONParseConfig
- func (rc *RunContext) LoadImages() bool
- func (rc *RunContext) MinikubeProfile() string
- func (rc *RunContext) Mode() config.RunMode
- func (rc *RunContext) MultiLevelRepo() *bool
- func (rc *RunContext) Muted() config.Muted
- func (rc *RunContext) NoPruneChildren() bool
- func (rc *RunContext) Notification() bool
- func (rc *RunContext) PipelineForImage(imageName string) (latest.Pipeline, bool)
- func (rc *RunContext) PortForward() bool
- func (rc *RunContext) PortForwardOptions() config.PortForwardOptions
- func (rc *RunContext) PortForwardResources() []*latest.PortForwardResource
- func (rc *RunContext) Prune() bool
- func (rc *RunContext) PushImages() config.BoolOrUndefined
- func (rc *RunContext) RPCHTTPPort() *int
- func (rc *RunContext) RPCPort() *int
- func (rc *RunContext) RenderOnly() bool
- func (rc *RunContext) RenderOutput() string
- func (rc *RunContext) SkipRender() bool
- func (rc *RunContext) SkipTests() bool
- func (rc *RunContext) StatusCheck() *bool
- func (rc *RunContext) StatusCheckDeadlineSeconds() int
- func (rc *RunContext) Tail() bool
- func (rc *RunContext) TestCases() []*latest.TestCase
- func (rc *RunContext) TransformAllowList() []latest.ResourceFilter
- func (rc *RunContext) TransformDenyList() []latest.ResourceFilter
- func (rc *RunContext) TransformRulesFile() string
- func (rc *RunContext) Trigger() string
- func (rc *RunContext) WaitForDeletions() config.WaitForDeletions
- func (rc *RunContext) WatchPollInterval() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipelines ¶ added in v1.18.0
type Pipelines struct {
// contains filtered or unexported fields
}
Pipelines encapsulates multiple config pipelines
func NewPipelines ¶ added in v1.18.0
func (Pipelines) DeployConfigs ¶ added in v1.21.0
func (ps Pipelines) DeployConfigs() []latest.DeployConfig
func (Pipelines) Deployers ¶ added in v1.18.0
func (ps Pipelines) Deployers() []latest.DeployConfig
func (Pipelines) IsMultiPipeline ¶ added in v1.23.0
IsMultiPipeline returns true if there are more than one constituent skaffold pipelines.
func (Pipelines) PortForwardResources ¶ added in v1.18.0
func (ps Pipelines) PortForwardResources() []*latest.PortForwardResource
func (Pipelines) Select ¶ added in v1.18.0
Select returns the first `latest.Pipeline` that matches the given artifact `imageName`.
func (Pipelines) StatusCheckDeadlineSeconds ¶ added in v1.18.0
func (Pipelines) TransformAllowList ¶ added in v1.37.0
func (ps Pipelines) TransformAllowList() []latest.ResourceFilter
TransformAllowList returns combined allowlist from pipelines
func (Pipelines) TransformDenyList ¶ added in v1.37.0
func (ps Pipelines) TransformDenyList() []latest.ResourceFilter
TransformDenyList returns combined denylist from pipelines
type RunContext ¶
type RunContext struct { Opts config.SkaffoldOptions Pipelines Pipelines KubeContext string WorkingDir string InsecureRegistries map[string]bool Cluster config.Cluster RunID string }
func GetRunContext ¶
func GetRunContext(ctx context.Context, opts config.SkaffoldOptions, configs []schemaUtil.VersionedConfig) (*RunContext, error)
func (*RunContext) AddSkaffoldLabels ¶ added in v1.7.1
func (rc *RunContext) AddSkaffoldLabels() bool
AddSkaffoldLabels tells the Runner whether to add skaffold-specific labels. We only ever skip adding labels during a `skaffold render`.
func (*RunContext) Artifacts ¶ added in v1.18.0
func (rc *RunContext) Artifacts() []*latest.Artifact
func (*RunContext) AutoBuild ¶ added in v1.7.1
func (rc *RunContext) AutoBuild() bool
func (*RunContext) AutoDeploy ¶ added in v1.7.1
func (rc *RunContext) AutoDeploy() bool
func (*RunContext) AutoSync ¶ added in v1.7.1
func (rc *RunContext) AutoSync() bool
func (*RunContext) BuildConcurrency ¶ added in v1.23.0
func (rc *RunContext) BuildConcurrency() int
func (*RunContext) CacheArtifacts ¶ added in v1.7.1
func (rc *RunContext) CacheArtifacts() bool
func (*RunContext) CacheFile ¶ added in v1.7.1
func (rc *RunContext) CacheFile() string
func (*RunContext) ConfigurationFile ¶ added in v1.7.1
func (rc *RunContext) ConfigurationFile() string
func (*RunContext) ContainerDebugging ¶ added in v1.32.0
func (rc *RunContext) ContainerDebugging() bool
func (*RunContext) CustomLabels ¶ added in v1.7.1
func (rc *RunContext) CustomLabels() []string
func (*RunContext) CustomTag ¶ added in v1.7.1
func (rc *RunContext) CustomTag() string
func (*RunContext) DefaultPipeline ¶ added in v1.18.0
func (rc *RunContext) DefaultPipeline() latest.Pipeline
func (*RunContext) DefaultRepo ¶
func (rc *RunContext) DefaultRepo() *string
func (*RunContext) DeployConfigs ¶ added in v1.21.0
func (rc *RunContext) DeployConfigs() []latest.DeployConfig
func (*RunContext) Deployers ¶ added in v1.18.0
func (rc *RunContext) Deployers() []latest.DeployConfig
func (*RunContext) DigestSource ¶ added in v1.7.1
func (rc *RunContext) DigestSource() string
func (*RunContext) DryRun ¶ added in v1.7.1
func (rc *RunContext) DryRun() bool
func (*RunContext) ForceDeploy ¶ added in v1.7.1
func (rc *RunContext) ForceDeploy() bool
func (*RunContext) ForceLoadImages ¶ added in v1.31.0
func (rc *RunContext) ForceLoadImages() bool
func (*RunContext) GetCluster ¶ added in v1.7.1
func (rc *RunContext) GetCluster() config.Cluster
func (*RunContext) GetInsecureRegistries ¶ added in v1.7.1
func (rc *RunContext) GetInsecureRegistries() map[string]bool
func (*RunContext) GetKubeConfig ¶ added in v1.7.1
func (rc *RunContext) GetKubeConfig() string
func (*RunContext) GetKubeContext ¶ added in v1.7.1
func (rc *RunContext) GetKubeContext() string
func (*RunContext) GetKubeNamespace ¶ added in v1.7.1
func (rc *RunContext) GetKubeNamespace() string
func (*RunContext) GetNamespace ¶ added in v1.28.1
func (rc *RunContext) GetNamespace() string
func (*RunContext) GetPipelines ¶ added in v1.18.0
func (rc *RunContext) GetPipelines() []latest.Pipeline
func (*RunContext) GetRunID ¶ added in v1.27.0
func (rc *RunContext) GetRunID() string
func (*RunContext) GetWorkingDir ¶ added in v1.7.1
func (rc *RunContext) GetWorkingDir() string
func (*RunContext) GlobalConfig ¶ added in v1.7.1
func (rc *RunContext) GlobalConfig() string
func (*RunContext) HydratedManifests ¶ added in v1.21.0
func (rc *RunContext) HydratedManifests() []string
func (*RunContext) IsDefaultKubeContext ¶ added in v1.30.0
func (rc *RunContext) IsDefaultKubeContext() bool
func (*RunContext) IsMultiConfig ¶ added in v1.23.0
func (rc *RunContext) IsMultiConfig() bool
func (*RunContext) IsTestPhaseActive ¶ added in v1.36.0
func (rc *RunContext) IsTestPhaseActive() bool
func (*RunContext) IterativeStatusCheck ¶ added in v1.28.0
func (rc *RunContext) IterativeStatusCheck() bool
func (*RunContext) JSONParseConfig ¶ added in v1.36.0
func (rc *RunContext) JSONParseConfig() latest.JSONParseConfig
func (*RunContext) LoadImages ¶ added in v1.28.0
func (rc *RunContext) LoadImages() bool
func (*RunContext) MinikubeProfile ¶ added in v1.7.1
func (rc *RunContext) MinikubeProfile() string
func (*RunContext) Mode ¶ added in v1.7.1
func (rc *RunContext) Mode() config.RunMode
func (*RunContext) MultiLevelRepo ¶ added in v1.36.0
func (rc *RunContext) MultiLevelRepo() *bool
func (*RunContext) Muted ¶ added in v1.7.1
func (rc *RunContext) Muted() config.Muted
func (*RunContext) NoPruneChildren ¶ added in v1.7.1
func (rc *RunContext) NoPruneChildren() bool
func (*RunContext) Notification ¶ added in v1.7.1
func (rc *RunContext) Notification() bool
func (*RunContext) PipelineForImage ¶ added in v1.18.0
func (rc *RunContext) PipelineForImage(imageName string) (latest.Pipeline, bool)
func (*RunContext) PortForward ¶ added in v1.7.1
func (rc *RunContext) PortForward() bool
func (*RunContext) PortForwardOptions ¶ added in v1.27.0
func (rc *RunContext) PortForwardOptions() config.PortForwardOptions
func (*RunContext) PortForwardResources ¶ added in v1.18.0
func (rc *RunContext) PortForwardResources() []*latest.PortForwardResource
func (*RunContext) Prune ¶ added in v1.7.1
func (rc *RunContext) Prune() bool
func (*RunContext) PushImages ¶ added in v1.30.0
func (rc *RunContext) PushImages() config.BoolOrUndefined
func (*RunContext) RPCHTTPPort ¶ added in v1.28.0
func (rc *RunContext) RPCHTTPPort() *int
func (*RunContext) RPCPort ¶ added in v1.28.0
func (rc *RunContext) RPCPort() *int
func (*RunContext) RenderOnly ¶ added in v1.7.1
func (rc *RunContext) RenderOnly() bool
func (*RunContext) RenderOutput ¶ added in v1.7.1
func (rc *RunContext) RenderOutput() string
func (*RunContext) SkipRender ¶ added in v1.7.1
func (rc *RunContext) SkipRender() bool
func (*RunContext) SkipTests ¶ added in v1.7.1
func (rc *RunContext) SkipTests() bool
func (*RunContext) StatusCheck ¶ added in v1.7.1
func (rc *RunContext) StatusCheck() *bool
func (*RunContext) StatusCheckDeadlineSeconds ¶ added in v1.18.0
func (rc *RunContext) StatusCheckDeadlineSeconds() int
func (*RunContext) Tail ¶ added in v1.7.1
func (rc *RunContext) Tail() bool
func (*RunContext) TestCases ¶ added in v1.18.0
func (rc *RunContext) TestCases() []*latest.TestCase
func (*RunContext) TransformAllowList ¶ added in v1.37.0
func (rc *RunContext) TransformAllowList() []latest.ResourceFilter
func (*RunContext) TransformDenyList ¶ added in v1.37.0
func (rc *RunContext) TransformDenyList() []latest.ResourceFilter
func (*RunContext) TransformRulesFile ¶ added in v1.37.0
func (rc *RunContext) TransformRulesFile() string
func (*RunContext) Trigger ¶ added in v1.7.1
func (rc *RunContext) Trigger() string
func (*RunContext) WaitForDeletions ¶ added in v1.7.1
func (rc *RunContext) WaitForDeletions() config.WaitForDeletions
func (*RunContext) WatchPollInterval ¶ added in v1.7.1
func (rc *RunContext) WatchPollInterval() int
Click to show internal directories.
Click to hide internal directories.