workspaces

package
v0.0.0-...-b32c93e Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Copyright 2021 The NitroCI Authors.

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.

Copyright 2021 The NitroCI Authors.

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitbucket

type Bitbucket struct {
	Workspace string `yaml:"workspace"`
	Slug      string `yaml:"slug"`
}

type Commands

type Commands struct {
	Name        string  `yaml:"name,omitempty"`
	Description string  `yaml:"description,omitempty"`
	Steps       []Steps `yaml:"steps,omitempty"`
}

type Encryption

type Encryption struct {
	Paths []string `yaml:"paths,omitempty"`
}

type Environments

type Environments struct {
	Name       string     `yaml:"name,omitempty"`
	Encryption Encryption `yaml:"encryption,omitempty"`
}

type Packages

type Packages struct {
	Platform string `yaml:"platform,omitempty"`
}

type Pipelines

type Pipelines struct {
	Platform  string    `yaml:"platform,omitempty"`
	Bitbucket Bitbucket `yaml:"bitbucket,omitempty"`
	Suffix    string    `yaml:"suffix,omitempty"`
}

type Plugin

type Plugin struct {
	Name     string `yaml:"name"`
	Version  string `yaml:"version"`
	Registry string `yaml:"registry,omitempty"`
}

type Settings

type Settings struct {
	Pipelines  Pipelines          `yaml:"pipelines,omitempty"`
	Packages   Packages           `yaml:"packages,omitempty"`
	Encryption SettingsEncryption `yaml:"encryption,omitempty"`
}

type SettingsEncryption

type SettingsEncryption struct {
	SecretKey string `yaml:"secret_key,omitempty"`
}

type Steps

type Steps struct {
	Cwd     string   `yaml:"cwd,omitempty"`
	Scripts []string `yaml:"scripts,omitempty"`
	Script  string   `yaml:"script,omitempty"`
}

type Workspace

type Workspace struct {
	ID      string   `yaml:"id"`
	Name    string   `yaml:"name,omitempty"`
	Plugins []Plugin `yaml:"plugins,omitempty"`
}

type WorkspaceModel

type WorkspaceModel struct {
	Version      int            `yaml:"version"`
	Workspace    Workspace      `yaml:"workspace,omitempty"`
	Environments []Environments `yaml:"environments,omitempty"`
	Commands     []Commands     `yaml:"commands"`
}

Jump to

Keyboard shortcuts

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