Help us shape the future of Go! Take the 2026 Go Developer Survey

release

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_release_output_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Domain           string   `hcl:"domain"`
	Hostname         string   `hcl:"hostname,optional"`
	AdditionalRoutes []string `hcl:"additional_routes,optional"`
	StopOldInstances bool     `hcl:"stop_old_instances,optional"`
}

type Release

type Release struct {
	Url              string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	RouteGuid        string `protobuf:"bytes,2,opt,name=route_guid,json=routeGuid,proto3" json:"route_guid,omitempty"`
	StopOldInstances bool   `protobuf:"varint,3,opt,name=stop_old_instances,json=stopOldInstances,proto3" json:"stop_old_instances,omitempty"`
	// contains filtered or unexported fields
}

func (*Release) Descriptor deprecated

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

Deprecated: Use Release.ProtoReflect.Descriptor instead.

func (*Release) GetRouteGuid

func (x *Release) GetRouteGuid() string

func (*Release) GetStopOldInstances

func (x *Release) GetStopOldInstances() bool

func (*Release) GetUrl

func (x *Release) GetUrl() string

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) ProtoReflect

func (x *Release) ProtoReflect() protoreflect.Message

func (*Release) Reset

func (x *Release) Reset()

func (*Release) String

func (x *Release) String() string

func (*Release) URL

func (r *Release) URL() string

type Releaser

type Releaser struct {
	// contains filtered or unexported fields
}

func (*Releaser) Config

func (r *Releaser) Config() (interface{}, error)

Config Implement Configurable

func (*Releaser) DestroyFunc

func (r *Releaser) DestroyFunc() interface{}

DestroyFunc implements the Destroyer interface

func (*Releaser) Release

func (r *Releaser) Release(
	ctx context.Context,
	log hclog.Logger,
	ui terminal.UI,
	src *component.Source,
	deployment *platform.Deployment,
) (*Release, error)

func (*Releaser) ReleaseFunc

func (r *Releaser) ReleaseFunc() interface{}

ReleaseFunc Implement Builder

func (*Releaser) Status

func (r *Releaser) Status(
	ctx context.Context,
	log hclog.Logger,
	release *Release,
	ui terminal.UI,
) (*proto.StatusReport, error)

func (*Releaser) StatusFunc

func (r *Releaser) StatusFunc() interface{}

StatusFunc Implements the Status check for the Release

type State

type State struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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