release

package
v0.0.0-...-cec44dd Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 12 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 Release

type Release struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Etag   string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

You can customise this message to change the fields for the output value from your ReleaseManager

func (*Release) Descriptor deprecated

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

Deprecated: Use Release.ProtoReflect.Descriptor instead.

func (*Release) GetEtag

func (x *Release) GetEtag() string

func (*Release) GetId

func (x *Release) GetId() string

func (*Release) GetOrigin

func (x *Release) GetOrigin() string

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 ReleaseConfig

type ReleaseConfig struct {
	// This is the Origin Path that the CDN will treat as `/`
	// default is a 1-1 forward to `/`
	Root string `hcl:"root,optional"`
}

type ReleaseManager

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

func (*ReleaseManager) Config

func (rm *ReleaseManager) Config() (interface{}, error)

Implement Configurable

func (*ReleaseManager) ConfigSet

func (rm *ReleaseManager) ConfigSet(config interface{}) error

Implement ConfigurableNotify

func (*ReleaseManager) DestroyFunc

func (rm *ReleaseManager) DestroyFunc() interface{}

Implement the Destroyer interface

func (*ReleaseManager) ReleaseFunc

func (rm *ReleaseManager) ReleaseFunc() interface{}

Implement Builder

Jump to

Keyboard shortcuts

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