Documentation ¶
Overview ¶
Copyright 2020 WILDCARD SA.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Created on 01/03/2021
Index ¶
- Constants
- type BuildTask
- type CleanTask
- type DeployTask
- type E2ETestTask
- type IntTestTask
- type Meta
- type SonarTask
- type Step
- type Task
- func (t *Task) Add(taskFunc func(context.Context, client.Client, logr.Logger) error) error
- func (t *Task) Build(ctx context.Context, logger logr.Logger) error
- func (t *Task) Clean(ctx context.Context, logger logr.Logger) error
- func (t *Task) Deploy(ctx context.Context, logger logr.Logger) error
- func (t *Task) E2ETest(ctx context.Context, logger logr.Logger) error
- func (t *Task) IntTest(ctx context.Context, logger logr.Logger) error
- func (t *Task) Parse(ctx context.Context, logger logr.Logger) error
- func (t *Task) Sonar(ctx context.Context, logger logr.Logger) error
- func (t *Task) UnitTest(ctx context.Context, logger logr.Logger) error
- type UnitTestTask
Constants ¶
const ( // filename use with s3cmd MinIOSecretKey = ".s3cfg" // Prefix use for name of resource MinIOPrefixSecret = "minio" )
TODO those are duplicates entries for breaking cycle import find a way to remove it
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Step ¶
Step structure for GetStep and FilteredStep
func (*Step) FilteredSteps ¶
FilteredSteps return a ci.Steps filtered by annotation
func (*Step) GetGenericSteps ¶ added in v0.1.1
GetGenericStep returns the steps bind with the task type
type Task ¶
type Task struct { // Index is the position of the task in the list Index int Creates []func(context.Context, client.Client, logr.Logger) error Client client.Client Play *ci.Play Scheme *runtime.Scheme }