resourcerevision

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionDeleteRequest

type CollectionDeleteRequest struct {
	model.ResourceRevisionDeleteInputs `path:",inline" json:",inline"`
}

func (*CollectionDeleteRequest) Validate

func (r *CollectionDeleteRequest) Validate() error

type CollectionGetRequest

type CollectionGetRequest struct {
	model.ResourceRevisionQueryInputs `path:",inline" query:",inline"`

	runtime.RequestCollection[
		predicate.ResourceRevision, resourcerevision.OrderOption,
	] `query:",inline"`

	Stream *runtime.RequestUnidiStream
}

func (*CollectionGetRequest) SetStream

func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)

type CollectionGetResponse

type CollectionGetResponse = []*model.ResourceRevisionOutput

type GetResponse

type GetResponse = *model.ResourceRevisionOutput

type Handler

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

func Handle

func Handle(mc model.ClientSet, kc *rest.Config) Handler

func (Handler) CollectionDelete

func (h Handler) CollectionDelete(req CollectionDeleteRequest) error

func (Handler) CollectionGet

func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)

func (Handler) Get

func (h Handler) Get(req GetRequest) (GetResponse, error)

func (Handler) Kind

func (Handler) Kind() string

func (Handler) RouteGetDiffLatest

func (h Handler) RouteGetDiffLatest(req RouteGetDiffLatestRequest) (*RouteGetDiffLatestResponse, error)

RouteGetDiffLatest get the revision with the service latest revision diff.

func (Handler) RouteGetDiffPrevious

RouteGetDiffPrevious get the revision with the service previous revision diff.

func (Handler) RouteGetTerraformStates

func (h Handler) RouteGetTerraformStates(
	req RouteGetTerraformStatesRequest,
) (RouteGetTerraformStatesResponse, error)

RouteGetTerraformStates get the terraform states of the service revision deployment.

func (Handler) RouteLog

func (h Handler) RouteLog(req RouteLogRequest) error

func (Handler) RouteUpdateTerraformStates

func (h Handler) RouteUpdateTerraformStates(
	req RouteUpdateTerraformStatesRequest,
) (err error)

RouteUpdateTerraformStates update the terraform states of the service revision deployment.

type RevisionDiff

type RevisionDiff struct {
	TemplateName    string          `json:"templateName"`
	TemplateVersion string          `json:"templateVersion"`
	Attributes      property.Values `json:"attributes"`
}

type RouteGetDiffLatestRequest

type RouteGetDiffLatestRequest struct {
	model.ResourceRevisionQueryInput `path:",inline"`
	// contains filtered or unexported fields
}

type RouteGetDiffLatestResponse

type RouteGetDiffLatestResponse struct {
	Old RevisionDiff `json:"old"`
	New RevisionDiff `json:"new"`
}

type RouteGetDiffPreviousRequest

type RouteGetDiffPreviousRequest struct {
	model.ResourceRevisionQueryInput `path:",inline"`
	// contains filtered or unexported fields
}

type RouteGetDiffPreviousResponse

type RouteGetDiffPreviousResponse struct {
	Old RevisionDiff `json:"old"`
	New RevisionDiff `json:"new"`
}

type RouteGetTerraformStatesRequest

type RouteGetTerraformStatesRequest struct {
	model.ResourceRevisionQueryInput `path:",inline"`
	// contains filtered or unexported fields
}

type RouteGetTerraformStatesResponse

type RouteGetTerraformStatesResponse = json.RawMessage

type RouteLogRequest

type RouteLogRequest struct {
	model.ResourceRevisionQueryInput `path:",inline"`

	JobType string `query:"jobType,omitempty"`

	Stream *runtime.RequestUnidiStream
	// contains filtered or unexported fields
}

func (*RouteLogRequest) SetStream

func (r *RouteLogRequest) SetStream(stream runtime.RequestUnidiStream)

func (*RouteLogRequest) Validate

func (r *RouteLogRequest) Validate() error

type RouteUpdateTerraformStatesRequest

type RouteUpdateTerraformStatesRequest struct {
	model.ResourceRevisionQueryInput `path:",inline"`

	json.RawMessage `path:"-" json:",inline"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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