codefresh

package
v0.0.0-...-4eaa2e5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	RuntimeEnvironmentRegistrator
}

func NewCodefreshAPI

func NewCodefreshAPI(opt *APIOptions) API

NewCodefreshAPI - creates new codefresh api

type APIOptions

type APIOptions struct {
	Logger                logger
	CodefreshHost         string
	CodefreshToken        string
	ClusterName           string
	ClusterNamespace      string
	RegisterWithAgent     bool
	MarkAsDefault         bool
	Insecure              bool
	StorageClass          string
	IsDefaultStorageClass bool
	BuildNodeSelector     map[string]string
	Annotations           map[string]string
}

type RuntimeEnvironmentRegistrator

type RuntimeEnvironmentRegistrator interface {
	Validate() error
	Sign() (*certs.ServerCert, error)
	Register() (*codefresh.RuntimeEnvironment, error)
}

Jump to

Keyboard shortcuts

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