esc_sdk

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
	YamlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:x-)?(?:[^;]+\+)?yaml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func MarshalEnvironmentDefinition

func MarshalEnvironmentDefinition(env *EnvironmentDefinition) (string, error)

func NewAuthContext

func NewAuthContext(accessToken string) context.Context

NewAuthContext creates a new context with the given access token. This context can be used to authenticate requests to the ESC API.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type Access

type Access struct {
	Receiver  *Range     `json:"receiver,omitempty"`
	Accessors []Accessor `json:"accessors,omitempty"`
}

Access struct for Access

func NewAccess

func NewAccess() *Access

NewAccess instantiates a new Access object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessWithDefaults

func NewAccessWithDefaults() *Access

NewAccessWithDefaults instantiates a new Access object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Access) GetAccessors

func (o *Access) GetAccessors() []Accessor

GetAccessors returns the Accessors field value if set, zero value otherwise.

func (*Access) GetAccessorsOk

func (o *Access) GetAccessorsOk() ([]Accessor, bool)

GetAccessorsOk returns a tuple with the Accessors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Access) GetReceiver

func (o *Access) GetReceiver() Range

GetReceiver returns the Receiver field value if set, zero value otherwise.

func (*Access) GetReceiverOk

func (o *Access) GetReceiverOk() (*Range, bool)

GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Access) HasAccessors

func (o *Access) HasAccessors() bool

HasAccessors returns a boolean if a field has been set.

func (*Access) HasReceiver

func (o *Access) HasReceiver() bool

HasReceiver returns a boolean if a field has been set.

func (Access) MarshalJSON

func (o Access) MarshalJSON() ([]byte, error)

func (*Access) SetAccessors

func (o *Access) SetAccessors(v []Accessor)

SetAccessors gets a reference to the given []Accessor and assigns it to the Accessors field.

func (*Access) SetReceiver

func (o *Access) SetReceiver(v Range)

SetReceiver gets a reference to the given Range and assigns it to the Receiver field.

func (Access) ToMap

func (o Access) ToMap() (map[string]interface{}, error)

type Accessor

type Accessor struct {
	Index *int32 `json:"index,omitempty"`
	Key   string `json:"key"`
	Range Range  `json:"range"`
}

Accessor struct for Accessor

func NewAccessor

func NewAccessor(key string, range_ Range) *Accessor

NewAccessor instantiates a new Accessor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessorWithDefaults

func NewAccessorWithDefaults() *Accessor

NewAccessorWithDefaults instantiates a new Accessor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Accessor) GetIndex

func (o *Accessor) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*Accessor) GetIndexOk

func (o *Accessor) GetIndexOk() (*int32, bool)

GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Accessor) GetKey

func (o *Accessor) GetKey() string

GetKey returns the Key field value

func (*Accessor) GetKeyOk

func (o *Accessor) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*Accessor) GetRange

func (o *Accessor) GetRange() Range

GetRange returns the Range field value

func (*Accessor) GetRangeOk

func (o *Accessor) GetRangeOk() (*Range, bool)

GetRangeOk returns a tuple with the Range field value and a boolean to check if the value has been set.

func (*Accessor) HasIndex

func (o *Accessor) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (Accessor) MarshalJSON

func (o Accessor) MarshalJSON() ([]byte, error)

func (*Accessor) SetIndex

func (o *Accessor) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*Accessor) SetKey

func (o *Accessor) SetKey(v string)

SetKey sets field value

func (*Accessor) SetRange

func (o *Accessor) SetRange(v Range)

SetRange sets field value

func (Accessor) ToMap

func (o Accessor) ToMap() (map[string]interface{}, error)

func (*Accessor) UnmarshalJSON

func (o *Accessor) UnmarshalJSON(data []byte) (err error)

type ApiCheckEnvironmentYamlRequest

type ApiCheckEnvironmentYamlRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiCheckEnvironmentYamlRequest) Body

Environment Yaml content

func (ApiCheckEnvironmentYamlRequest) Execute

type ApiCloneEnvironmentRequest added in v0.11.0

type ApiCloneEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiCloneEnvironmentRequest) CloneEnvironment added in v0.11.0

func (r ApiCloneEnvironmentRequest) CloneEnvironment(cloneEnvironment CloneEnvironment) ApiCloneEnvironmentRequest

Clone environment

func (ApiCloneEnvironmentRequest) Execute added in v0.11.0

type ApiCreateEnvironmentRequest

type ApiCreateEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiCreateEnvironmentRequest) CreateEnvironment added in v0.10.0

func (r ApiCreateEnvironmentRequest) CreateEnvironment(createEnvironment CreateEnvironment) ApiCreateEnvironmentRequest

Create Environment

func (ApiCreateEnvironmentRequest) Execute

type ApiCreateEnvironmentRevisionTagRequest

type ApiCreateEnvironmentRevisionTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiCreateEnvironmentRevisionTagRequest) CreateEnvironmentRevisionTag added in v0.10.0

func (r ApiCreateEnvironmentRevisionTagRequest) CreateEnvironmentRevisionTag(createEnvironmentRevisionTag CreateEnvironmentRevisionTag) ApiCreateEnvironmentRevisionTagRequest

Create environment revision tag

func (ApiCreateEnvironmentRevisionTagRequest) Execute

type ApiCreateEnvironmentTagRequest added in v0.10.0

type ApiCreateEnvironmentTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiCreateEnvironmentTagRequest) CreateEnvironmentTag added in v0.10.0

func (r ApiCreateEnvironmentTagRequest) CreateEnvironmentTag(createEnvironmentTag CreateEnvironmentTag) ApiCreateEnvironmentTagRequest

Create environment tag

func (ApiCreateEnvironmentTagRequest) Execute added in v0.10.0

type ApiDecryptEnvironmentRequest

type ApiDecryptEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiDecryptEnvironmentRequest) Execute

type ApiDeleteEnvironmentRequest

type ApiDeleteEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteEnvironmentRequest) Execute

type ApiDeleteEnvironmentRevisionTagRequest

type ApiDeleteEnvironmentRevisionTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteEnvironmentRevisionTagRequest) Execute

type ApiDeleteEnvironmentTagRequest added in v0.10.0

type ApiDeleteEnvironmentTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteEnvironmentTagRequest) Execute added in v0.10.0

type ApiGetEnvironmentAtVersionRequest

type ApiGetEnvironmentAtVersionRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentAtVersionRequest) Execute

type ApiGetEnvironmentETagRequest

type ApiGetEnvironmentETagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentETagRequest) Execute

type ApiGetEnvironmentRequest

type ApiGetEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentRequest) Execute

type ApiGetEnvironmentRevisionTagRequest

type ApiGetEnvironmentRevisionTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentRevisionTagRequest) Execute

type ApiGetEnvironmentTagRequest added in v0.10.0

type ApiGetEnvironmentTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentTagRequest) Execute added in v0.10.0

type ApiListEnvironmentRevisionTagsRequest

type ApiListEnvironmentRevisionTagsRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiListEnvironmentRevisionTagsRequest) After

after tag for pagination

func (ApiListEnvironmentRevisionTagsRequest) Count

limit of tags to return

func (ApiListEnvironmentRevisionTagsRequest) Execute

type ApiListEnvironmentRevisionsRequest

type ApiListEnvironmentRevisionsRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiListEnvironmentRevisionsRequest) Before

before revision number for pagination

func (ApiListEnvironmentRevisionsRequest) Count

limit of revisions to return

func (ApiListEnvironmentRevisionsRequest) Execute

type ApiListEnvironmentTagsRequest added in v0.10.0

type ApiListEnvironmentTagsRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiListEnvironmentTagsRequest) After added in v0.10.0

after tag for pagination

func (ApiListEnvironmentTagsRequest) Count added in v0.10.0

limit of tags to return

func (ApiListEnvironmentTagsRequest) Execute added in v0.10.0

type ApiListEnvironmentsRequest

type ApiListEnvironmentsRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiListEnvironmentsRequest) ContinuationToken

func (r ApiListEnvironmentsRequest) ContinuationToken(continuationToken string) ApiListEnvironmentsRequest

continuation Token from previous query to fetch next page of results

func (ApiListEnvironmentsRequest) Execute

type ApiOpenEnvironmentAtVersionRequest

type ApiOpenEnvironmentAtVersionRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiOpenEnvironmentAtVersionRequest) Duration

open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.

func (ApiOpenEnvironmentAtVersionRequest) Execute

type ApiOpenEnvironmentRequest

type ApiOpenEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiOpenEnvironmentRequest) Duration

open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.

func (ApiOpenEnvironmentRequest) Execute

type ApiReadOpenEnvironmentPropertyRequest

type ApiReadOpenEnvironmentPropertyRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiReadOpenEnvironmentPropertyRequest) Execute

func (ApiReadOpenEnvironmentPropertyRequest) Property

Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration

type ApiReadOpenEnvironmentRequest

type ApiReadOpenEnvironmentRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiReadOpenEnvironmentRequest) Execute

type ApiUpdateEnvironmentRevisionTagRequest

type ApiUpdateEnvironmentRevisionTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateEnvironmentRevisionTagRequest) Execute

func (ApiUpdateEnvironmentRevisionTagRequest) UpdateEnvironmentRevisionTag

func (r ApiUpdateEnvironmentRevisionTagRequest) UpdateEnvironmentRevisionTag(updateEnvironmentRevisionTag UpdateEnvironmentRevisionTag) ApiUpdateEnvironmentRevisionTagRequest

Update environment revision tag

type ApiUpdateEnvironmentTagRequest added in v0.10.0

type ApiUpdateEnvironmentTagRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateEnvironmentTagRequest) Execute added in v0.10.0

func (ApiUpdateEnvironmentTagRequest) UpdateEnvironmentTag added in v0.10.0

func (r ApiUpdateEnvironmentTagRequest) UpdateEnvironmentTag(updateEnvironmentTag UpdateEnvironmentTag) ApiUpdateEnvironmentTagRequest

Update environment tag

type ApiUpdateEnvironmentYamlRequest

type ApiUpdateEnvironmentYamlRequest struct {
	ApiService *EscAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateEnvironmentYamlRequest) Body

Environment Yaml content

func (ApiUpdateEnvironmentYamlRequest) Execute

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CheckEnvironment

type CheckEnvironment struct {
	Exprs            *map[string]Expr           `json:"exprs,omitempty"`
	Properties       *map[string]Value          `json:"properties,omitempty"`
	Schema           interface{}                `json:"schema,omitempty"`
	ExecutionContext *EvaluatedExecutionContext `json:"executionContext,omitempty"`
	Diagnostics      []EnvironmentDiagnostic    `json:"diagnostics,omitempty"`
}

CheckEnvironment struct for CheckEnvironment

func NewCheckEnvironment

func NewCheckEnvironment() *CheckEnvironment

NewCheckEnvironment instantiates a new CheckEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckEnvironmentWithDefaults

func NewCheckEnvironmentWithDefaults() *CheckEnvironment

NewCheckEnvironmentWithDefaults instantiates a new CheckEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckEnvironment) GetDiagnostics

func (o *CheckEnvironment) GetDiagnostics() []EnvironmentDiagnostic

GetDiagnostics returns the Diagnostics field value if set, zero value otherwise.

func (*CheckEnvironment) GetDiagnosticsOk

func (o *CheckEnvironment) GetDiagnosticsOk() ([]EnvironmentDiagnostic, bool)

GetDiagnosticsOk returns a tuple with the Diagnostics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckEnvironment) GetExecutionContext

func (o *CheckEnvironment) GetExecutionContext() EvaluatedExecutionContext

GetExecutionContext returns the ExecutionContext field value if set, zero value otherwise.

func (*CheckEnvironment) GetExecutionContextOk

func (o *CheckEnvironment) GetExecutionContextOk() (*EvaluatedExecutionContext, bool)

GetExecutionContextOk returns a tuple with the ExecutionContext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckEnvironment) GetExprs

func (o *CheckEnvironment) GetExprs() map[string]Expr

GetExprs returns the Exprs field value if set, zero value otherwise.

func (*CheckEnvironment) GetExprsOk

func (o *CheckEnvironment) GetExprsOk() (*map[string]Expr, bool)

GetExprsOk returns a tuple with the Exprs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckEnvironment) GetProperties

func (o *CheckEnvironment) GetProperties() map[string]Value

GetProperties returns the Properties field value if set, zero value otherwise.

func (*CheckEnvironment) GetPropertiesOk

func (o *CheckEnvironment) GetPropertiesOk() (*map[string]Value, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckEnvironment) GetSchema

func (o *CheckEnvironment) GetSchema() interface{}

GetSchema returns the Schema field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckEnvironment) GetSchemaOk

func (o *CheckEnvironment) GetSchemaOk() (*interface{}, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckEnvironment) HasDiagnostics

func (o *CheckEnvironment) HasDiagnostics() bool

HasDiagnostics returns a boolean if a field has been set.

func (*CheckEnvironment) HasExecutionContext

func (o *CheckEnvironment) HasExecutionContext() bool

HasExecutionContext returns a boolean if a field has been set.

func (*CheckEnvironment) HasExprs

func (o *CheckEnvironment) HasExprs() bool

HasExprs returns a boolean if a field has been set.

func (*CheckEnvironment) HasProperties

func (o *CheckEnvironment) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*CheckEnvironment) HasSchema

func (o *CheckEnvironment) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (CheckEnvironment) MarshalJSON

func (o CheckEnvironment) MarshalJSON() ([]byte, error)

func (*CheckEnvironment) SetDiagnostics

func (o *CheckEnvironment) SetDiagnostics(v []EnvironmentDiagnostic)

SetDiagnostics gets a reference to the given []EnvironmentDiagnostic and assigns it to the Diagnostics field.

func (*CheckEnvironment) SetExecutionContext

func (o *CheckEnvironment) SetExecutionContext(v EvaluatedExecutionContext)

SetExecutionContext gets a reference to the given EvaluatedExecutionContext and assigns it to the ExecutionContext field.

func (*CheckEnvironment) SetExprs

func (o *CheckEnvironment) SetExprs(v map[string]Expr)

SetExprs gets a reference to the given map[string]Expr and assigns it to the Exprs field.

func (*CheckEnvironment) SetProperties

func (o *CheckEnvironment) SetProperties(v map[string]Value)

SetProperties gets a reference to the given map[string]Value and assigns it to the Properties field.

func (*CheckEnvironment) SetSchema

func (o *CheckEnvironment) SetSchema(v interface{})

SetSchema gets a reference to the given interface{} and assigns it to the Schema field.

func (CheckEnvironment) ToMap

func (o CheckEnvironment) ToMap() (map[string]interface{}, error)

type CloneEnvironment added in v0.11.0

type CloneEnvironment struct {
	Project                 string `json:"project"`
	Name                    string `json:"name"`
	PreserveAccess          *bool  `json:"preserveAccess,omitempty"`
	PreserveEnvironmentTags *bool  `json:"preserveEnvironmentTags,omitempty"`
	PreserveHistory         *bool  `json:"preserveHistory,omitempty"`
	PreserveRevisionTags    *bool  `json:"preserveRevisionTags,omitempty"`
}

CloneEnvironment struct for CloneEnvironment

func NewCloneEnvironment added in v0.11.0

func NewCloneEnvironment(project string, name string) *CloneEnvironment

NewCloneEnvironment instantiates a new CloneEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloneEnvironmentWithDefaults added in v0.11.0

func NewCloneEnvironmentWithDefaults() *CloneEnvironment

NewCloneEnvironmentWithDefaults instantiates a new CloneEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloneEnvironment) GetName added in v0.11.0

func (o *CloneEnvironment) GetName() string

GetName returns the Name field value

func (*CloneEnvironment) GetNameOk added in v0.11.0

func (o *CloneEnvironment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CloneEnvironment) GetPreserveAccess added in v0.11.0

func (o *CloneEnvironment) GetPreserveAccess() bool

GetPreserveAccess returns the PreserveAccess field value if set, zero value otherwise.

func (*CloneEnvironment) GetPreserveAccessOk added in v0.11.0

func (o *CloneEnvironment) GetPreserveAccessOk() (*bool, bool)

GetPreserveAccessOk returns a tuple with the PreserveAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneEnvironment) GetPreserveEnvironmentTags added in v0.11.0

func (o *CloneEnvironment) GetPreserveEnvironmentTags() bool

GetPreserveEnvironmentTags returns the PreserveEnvironmentTags field value if set, zero value otherwise.

func (*CloneEnvironment) GetPreserveEnvironmentTagsOk added in v0.11.0

func (o *CloneEnvironment) GetPreserveEnvironmentTagsOk() (*bool, bool)

GetPreserveEnvironmentTagsOk returns a tuple with the PreserveEnvironmentTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneEnvironment) GetPreserveHistory added in v0.11.0

func (o *CloneEnvironment) GetPreserveHistory() bool

GetPreserveHistory returns the PreserveHistory field value if set, zero value otherwise.

func (*CloneEnvironment) GetPreserveHistoryOk added in v0.11.0

func (o *CloneEnvironment) GetPreserveHistoryOk() (*bool, bool)

GetPreserveHistoryOk returns a tuple with the PreserveHistory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneEnvironment) GetPreserveRevisionTags added in v0.11.0

func (o *CloneEnvironment) GetPreserveRevisionTags() bool

GetPreserveRevisionTags returns the PreserveRevisionTags field value if set, zero value otherwise.

func (*CloneEnvironment) GetPreserveRevisionTagsOk added in v0.11.0

func (o *CloneEnvironment) GetPreserveRevisionTagsOk() (*bool, bool)

GetPreserveRevisionTagsOk returns a tuple with the PreserveRevisionTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneEnvironment) GetProject added in v0.11.0

func (o *CloneEnvironment) GetProject() string

GetProject returns the Project field value

func (*CloneEnvironment) GetProjectOk added in v0.11.0

func (o *CloneEnvironment) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (*CloneEnvironment) HasPreserveAccess added in v0.11.0

func (o *CloneEnvironment) HasPreserveAccess() bool

HasPreserveAccess returns a boolean if a field has been set.

func (*CloneEnvironment) HasPreserveEnvironmentTags added in v0.11.0

func (o *CloneEnvironment) HasPreserveEnvironmentTags() bool

HasPreserveEnvironmentTags returns a boolean if a field has been set.

func (*CloneEnvironment) HasPreserveHistory added in v0.11.0

func (o *CloneEnvironment) HasPreserveHistory() bool

HasPreserveHistory returns a boolean if a field has been set.

func (*CloneEnvironment) HasPreserveRevisionTags added in v0.11.0

func (o *CloneEnvironment) HasPreserveRevisionTags() bool

HasPreserveRevisionTags returns a boolean if a field has been set.

func (CloneEnvironment) MarshalJSON added in v0.11.0

func (o CloneEnvironment) MarshalJSON() ([]byte, error)

func (*CloneEnvironment) SetName added in v0.11.0

func (o *CloneEnvironment) SetName(v string)

SetName sets field value

func (*CloneEnvironment) SetPreserveAccess added in v0.11.0

func (o *CloneEnvironment) SetPreserveAccess(v bool)

SetPreserveAccess gets a reference to the given bool and assigns it to the PreserveAccess field.

func (*CloneEnvironment) SetPreserveEnvironmentTags added in v0.11.0

func (o *CloneEnvironment) SetPreserveEnvironmentTags(v bool)

SetPreserveEnvironmentTags gets a reference to the given bool and assigns it to the PreserveEnvironmentTags field.

func (*CloneEnvironment) SetPreserveHistory added in v0.11.0

func (o *CloneEnvironment) SetPreserveHistory(v bool)

SetPreserveHistory gets a reference to the given bool and assigns it to the PreserveHistory field.

func (*CloneEnvironment) SetPreserveRevisionTags added in v0.11.0

func (o *CloneEnvironment) SetPreserveRevisionTags(v bool)

SetPreserveRevisionTags gets a reference to the given bool and assigns it to the PreserveRevisionTags field.

func (*CloneEnvironment) SetProject added in v0.11.0

func (o *CloneEnvironment) SetProject(v string)

SetProject sets field value

func (CloneEnvironment) ToMap added in v0.11.0

func (o CloneEnvironment) ToMap() (map[string]interface{}, error)

func (*CloneEnvironment) UnmarshalJSON added in v0.11.0

func (o *CloneEnvironment) UnmarshalJSON(data []byte) (err error)

type CloneEnvironmentOptions added in v0.11.0

type CloneEnvironmentOptions struct {
	PreserveHistory         bool
	PreserveAccess          bool
	PreserveEnvironmentTags bool
	PreserveRevisionTags    bool
}

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateEnvironment added in v0.10.0

type CreateEnvironment struct {
	Project string `json:"project"`
	Name    string `json:"name"`
}

CreateEnvironment struct for CreateEnvironment

func NewCreateEnvironment added in v0.10.0

func NewCreateEnvironment(project string, name string) *CreateEnvironment

NewCreateEnvironment instantiates a new CreateEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEnvironmentWithDefaults added in v0.10.0

func NewCreateEnvironmentWithDefaults() *CreateEnvironment

NewCreateEnvironmentWithDefaults instantiates a new CreateEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEnvironment) GetName added in v0.10.0

func (o *CreateEnvironment) GetName() string

GetName returns the Name field value

func (*CreateEnvironment) GetNameOk added in v0.10.0

func (o *CreateEnvironment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateEnvironment) GetProject added in v0.10.0

func (o *CreateEnvironment) GetProject() string

GetProject returns the Project field value

func (*CreateEnvironment) GetProjectOk added in v0.10.0

func (o *CreateEnvironment) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (CreateEnvironment) MarshalJSON added in v0.10.0

func (o CreateEnvironment) MarshalJSON() ([]byte, error)

func (*CreateEnvironment) SetName added in v0.10.0

func (o *CreateEnvironment) SetName(v string)

SetName sets field value

func (*CreateEnvironment) SetProject added in v0.10.0

func (o *CreateEnvironment) SetProject(v string)

SetProject sets field value

func (CreateEnvironment) ToMap added in v0.10.0

func (o CreateEnvironment) ToMap() (map[string]interface{}, error)

func (*CreateEnvironment) UnmarshalJSON added in v0.10.0

func (o *CreateEnvironment) UnmarshalJSON(data []byte) (err error)

type CreateEnvironmentRevisionTag added in v0.10.0

type CreateEnvironmentRevisionTag struct {
	Name     string `json:"name"`
	Revision int32  `json:"revision"`
}

CreateEnvironmentRevisionTag struct for CreateEnvironmentRevisionTag

func NewCreateEnvironmentRevisionTag added in v0.10.0

func NewCreateEnvironmentRevisionTag(name string, revision int32) *CreateEnvironmentRevisionTag

NewCreateEnvironmentRevisionTag instantiates a new CreateEnvironmentRevisionTag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEnvironmentRevisionTagWithDefaults added in v0.10.0

func NewCreateEnvironmentRevisionTagWithDefaults() *CreateEnvironmentRevisionTag

NewCreateEnvironmentRevisionTagWithDefaults instantiates a new CreateEnvironmentRevisionTag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEnvironmentRevisionTag) GetName added in v0.10.0

func (o *CreateEnvironmentRevisionTag) GetName() string

GetName returns the Name field value

func (*CreateEnvironmentRevisionTag) GetNameOk added in v0.10.0

func (o *CreateEnvironmentRevisionTag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateEnvironmentRevisionTag) GetRevision added in v0.10.0

func (o *CreateEnvironmentRevisionTag) GetRevision() int32

GetRevision returns the Revision field value

func (*CreateEnvironmentRevisionTag) GetRevisionOk added in v0.10.0

func (o *CreateEnvironmentRevisionTag) GetRevisionOk() (*int32, bool)

GetRevisionOk returns a tuple with the Revision field value and a boolean to check if the value has been set.

func (CreateEnvironmentRevisionTag) MarshalJSON added in v0.10.0

func (o CreateEnvironmentRevisionTag) MarshalJSON() ([]byte, error)

func (*CreateEnvironmentRevisionTag) SetName added in v0.10.0

func (o *CreateEnvironmentRevisionTag) SetName(v string)

SetName sets field value

func (*CreateEnvironmentRevisionTag) SetRevision added in v0.10.0

func (o *CreateEnvironmentRevisionTag) SetRevision(v int32)

SetRevision sets field value

func (CreateEnvironmentRevisionTag) ToMap added in v0.10.0

func (o CreateEnvironmentRevisionTag) ToMap() (map[string]interface{}, error)

func (*CreateEnvironmentRevisionTag) UnmarshalJSON added in v0.10.0

func (o *CreateEnvironmentRevisionTag) UnmarshalJSON(data []byte) (err error)

type CreateEnvironmentRevisionTag204Response

type CreateEnvironmentRevisionTag204Response struct {
	Message    *string `json:"message,omitempty"`
	StatusCode *int32  `json:"statusCode,omitempty"`
}

CreateEnvironmentRevisionTag204Response struct for CreateEnvironmentRevisionTag204Response

func NewCreateEnvironmentRevisionTag204Response

func NewCreateEnvironmentRevisionTag204Response() *CreateEnvironmentRevisionTag204Response

NewCreateEnvironmentRevisionTag204Response instantiates a new CreateEnvironmentRevisionTag204Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEnvironmentRevisionTag204ResponseWithDefaults

func NewCreateEnvironmentRevisionTag204ResponseWithDefaults() *CreateEnvironmentRevisionTag204Response

NewCreateEnvironmentRevisionTag204ResponseWithDefaults instantiates a new CreateEnvironmentRevisionTag204Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEnvironmentRevisionTag204Response) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateEnvironmentRevisionTag204Response) GetMessageOk

func (o *CreateEnvironmentRevisionTag204Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateEnvironmentRevisionTag204Response) GetStatusCode

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*CreateEnvironmentRevisionTag204Response) GetStatusCodeOk

func (o *CreateEnvironmentRevisionTag204Response) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateEnvironmentRevisionTag204Response) HasMessage

HasMessage returns a boolean if a field has been set.

func (*CreateEnvironmentRevisionTag204Response) HasStatusCode

func (o *CreateEnvironmentRevisionTag204Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (CreateEnvironmentRevisionTag204Response) MarshalJSON

func (o CreateEnvironmentRevisionTag204Response) MarshalJSON() ([]byte, error)

func (*CreateEnvironmentRevisionTag204Response) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateEnvironmentRevisionTag204Response) SetStatusCode

func (o *CreateEnvironmentRevisionTag204Response) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (CreateEnvironmentRevisionTag204Response) ToMap

func (o CreateEnvironmentRevisionTag204Response) ToMap() (map[string]interface{}, error)

type CreateEnvironmentTag added in v0.10.0

type CreateEnvironmentTag struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

CreateEnvironmentTag struct for CreateEnvironmentTag

func NewCreateEnvironmentTag added in v0.10.0

func NewCreateEnvironmentTag(name string, value string) *CreateEnvironmentTag

NewCreateEnvironmentTag instantiates a new CreateEnvironmentTag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEnvironmentTagWithDefaults added in v0.10.0

func NewCreateEnvironmentTagWithDefaults() *CreateEnvironmentTag

NewCreateEnvironmentTagWithDefaults instantiates a new CreateEnvironmentTag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEnvironmentTag) GetName added in v0.10.0

func (o *CreateEnvironmentTag) GetName() string

GetName returns the Name field value

func (*CreateEnvironmentTag) GetNameOk added in v0.10.0

func (o *CreateEnvironmentTag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateEnvironmentTag) GetValue added in v0.10.0

func (o *CreateEnvironmentTag) GetValue() string

GetValue returns the Value field value

func (*CreateEnvironmentTag) GetValueOk added in v0.10.0

func (o *CreateEnvironmentTag) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (CreateEnvironmentTag) MarshalJSON added in v0.10.0

func (o CreateEnvironmentTag) MarshalJSON() ([]byte, error)

func (*CreateEnvironmentTag) SetName added in v0.10.0

func (o *CreateEnvironmentTag) SetName(v string)

SetName sets field value

func (*CreateEnvironmentTag) SetValue added in v0.10.0

func (o *CreateEnvironmentTag) SetValue(v string)

SetValue sets field value

func (CreateEnvironmentTag) ToMap added in v0.10.0

func (o CreateEnvironmentTag) ToMap() (map[string]interface{}, error)

func (*CreateEnvironmentTag) UnmarshalJSON added in v0.10.0

func (o *CreateEnvironmentTag) UnmarshalJSON(data []byte) (err error)

type CreateEnvironmentTagRequest added in v0.10.0

type CreateEnvironmentTagRequest struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

CreateEnvironmentTagRequest struct for CreateEnvironmentTagRequest

func NewCreateEnvironmentTagRequest added in v0.10.0

func NewCreateEnvironmentTagRequest(name string, value string) *CreateEnvironmentTagRequest

NewCreateEnvironmentTagRequest instantiates a new CreateEnvironmentTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEnvironmentTagRequestWithDefaults added in v0.10.0

func NewCreateEnvironmentTagRequestWithDefaults() *CreateEnvironmentTagRequest

NewCreateEnvironmentTagRequestWithDefaults instantiates a new CreateEnvironmentTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEnvironmentTagRequest) GetName added in v0.10.0

func (o *CreateEnvironmentTagRequest) GetName() string

GetName returns the Name field value

func (*CreateEnvironmentTagRequest) GetNameOk added in v0.10.0

func (o *CreateEnvironmentTagRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateEnvironmentTagRequest) GetValue added in v0.10.0

func (o *CreateEnvironmentTagRequest) GetValue() string

GetValue returns the Value field value

func (*CreateEnvironmentTagRequest) GetValueOk added in v0.10.0

func (o *CreateEnvironmentTagRequest) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (CreateEnvironmentTagRequest) MarshalJSON added in v0.10.0

func (o CreateEnvironmentTagRequest) MarshalJSON() ([]byte, error)

func (*CreateEnvironmentTagRequest) SetName added in v0.10.0

func (o *CreateEnvironmentTagRequest) SetName(v string)

SetName sets field value

func (*CreateEnvironmentTagRequest) SetValue added in v0.10.0

func (o *CreateEnvironmentTagRequest) SetValue(v string)

SetValue sets field value

func (CreateEnvironmentTagRequest) ToMap added in v0.10.0

func (o CreateEnvironmentTagRequest) ToMap() (map[string]interface{}, error)

func (*CreateEnvironmentTagRequest) UnmarshalJSON added in v0.10.0

func (o *CreateEnvironmentTagRequest) UnmarshalJSON(data []byte) (err error)

type Environment

type Environment struct {
	Exprs            *map[string]Expr           `json:"exprs,omitempty"`
	Properties       *map[string]Value          `json:"properties,omitempty"`
	Schema           interface{}                `json:"schema,omitempty"`
	ExecutionContext *EvaluatedExecutionContext `json:"executionContext,omitempty"`
}

Environment struct for Environment

func NewEnvironment

func NewEnvironment() *Environment

NewEnvironment instantiates a new Environment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentWithDefaults

func NewEnvironmentWithDefaults() *Environment

NewEnvironmentWithDefaults instantiates a new Environment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Environment) GetExecutionContext

func (o *Environment) GetExecutionContext() EvaluatedExecutionContext

GetExecutionContext returns the ExecutionContext field value if set, zero value otherwise.

func (*Environment) GetExecutionContextOk

func (o *Environment) GetExecutionContextOk() (*EvaluatedExecutionContext, bool)

GetExecutionContextOk returns a tuple with the ExecutionContext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Environment) GetExprs

func (o *Environment) GetExprs() map[string]Expr

GetExprs returns the Exprs field value if set, zero value otherwise.

func (*Environment) GetExprsOk

func (o *Environment) GetExprsOk() (*map[string]Expr, bool)

GetExprsOk returns a tuple with the Exprs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Environment) GetProperties

func (o *Environment) GetProperties() map[string]Value

GetProperties returns the Properties field value if set, zero value otherwise.

func (*Environment) GetPropertiesOk

func (o *Environment) GetPropertiesOk() (*map[string]Value, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Environment) GetSchema

func (o *Environment) GetSchema() interface{}

GetSchema returns the Schema field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Environment) GetSchemaOk

func (o *Environment) GetSchemaOk() (*interface{}, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Environment) HasExecutionContext

func (o *Environment) HasExecutionContext() bool

HasExecutionContext returns a boolean if a field has been set.

func (*Environment) HasExprs

func (o *Environment) HasExprs() bool

HasExprs returns a boolean if a field has been set.

func (*Environment) HasProperties

func (o *Environment) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Environment) HasSchema

func (o *Environment) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (Environment) MarshalJSON

func (o Environment) MarshalJSON() ([]byte, error)

func (*Environment) SetExecutionContext

func (o *Environment) SetExecutionContext(v EvaluatedExecutionContext)

SetExecutionContext gets a reference to the given EvaluatedExecutionContext and assigns it to the ExecutionContext field.

func (*Environment) SetExprs

func (o *Environment) SetExprs(v map[string]Expr)

SetExprs gets a reference to the given map[string]Expr and assigns it to the Exprs field.

func (*Environment) SetProperties

func (o *Environment) SetProperties(v map[string]Value)

SetProperties gets a reference to the given map[string]Value and assigns it to the Properties field.

func (*Environment) SetSchema

func (o *Environment) SetSchema(v interface{})

SetSchema gets a reference to the given interface{} and assigns it to the Schema field.

func (Environment) ToMap

func (o Environment) ToMap() (map[string]interface{}, error)

type EnvironmentDefinition

type EnvironmentDefinition struct {
	Imports []string                     `json:"imports,omitempty"`
	Values  *EnvironmentDefinitionValues `json:"values,omitempty"`
}

EnvironmentDefinition struct for EnvironmentDefinition

func NewEnvironmentDefinition

func NewEnvironmentDefinition() *EnvironmentDefinition

NewEnvironmentDefinition instantiates a new EnvironmentDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentDefinitionWithDefaults

func NewEnvironmentDefinitionWithDefaults() *EnvironmentDefinition

NewEnvironmentDefinitionWithDefaults instantiates a new EnvironmentDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentDefinition) GetImports

func (o *EnvironmentDefinition) GetImports() []string

GetImports returns the Imports field value if set, zero value otherwise.

func (*EnvironmentDefinition) GetImportsOk

func (o *EnvironmentDefinition) GetImportsOk() ([]string, bool)

GetImportsOk returns a tuple with the Imports field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDefinition) GetValues

GetValues returns the Values field value if set, zero value otherwise.

func (*EnvironmentDefinition) GetValuesOk

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDefinition) HasImports

func (o *EnvironmentDefinition) HasImports() bool

HasImports returns a boolean if a field has been set.

func (*EnvironmentDefinition) HasValues

func (o *EnvironmentDefinition) HasValues() bool

HasValues returns a boolean if a field has been set.

func (EnvironmentDefinition) MarshalJSON

func (o EnvironmentDefinition) MarshalJSON() ([]byte, error)

func (*EnvironmentDefinition) SetImports

func (o *EnvironmentDefinition) SetImports(v []string)

SetImports gets a reference to the given []string and assigns it to the Imports field.

func (*EnvironmentDefinition) SetValues

SetValues gets a reference to the given EnvironmentDefinitionValues and assigns it to the Values field.

func (EnvironmentDefinition) ToMap

func (o EnvironmentDefinition) ToMap() (map[string]interface{}, error)

type EnvironmentDefinitionValues

type EnvironmentDefinitionValues struct {
	PulumiConfig         map[string]interface{} `json:"pulumiConfig,omitempty"`
	EnvironmentVariables *map[string]string     `json:"environmentVariables,omitempty"`
	Files                *map[string]string     `json:"files,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnvironmentDefinitionValues struct for EnvironmentDefinitionValues

func NewEnvironmentDefinitionValues

func NewEnvironmentDefinitionValues() *EnvironmentDefinitionValues

NewEnvironmentDefinitionValues instantiates a new EnvironmentDefinitionValues object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentDefinitionValuesWithDefaults

func NewEnvironmentDefinitionValuesWithDefaults() *EnvironmentDefinitionValues

NewEnvironmentDefinitionValuesWithDefaults instantiates a new EnvironmentDefinitionValues object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentDefinitionValues) GetEnvironmentVariables

func (o *EnvironmentDefinitionValues) GetEnvironmentVariables() map[string]string

GetEnvironmentVariables returns the EnvironmentVariables field value if set, zero value otherwise.

func (*EnvironmentDefinitionValues) GetEnvironmentVariablesOk

func (o *EnvironmentDefinitionValues) GetEnvironmentVariablesOk() (*map[string]string, bool)

GetEnvironmentVariablesOk returns a tuple with the EnvironmentVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDefinitionValues) GetFiles

func (o *EnvironmentDefinitionValues) GetFiles() map[string]string

GetFiles returns the Files field value if set, zero value otherwise.

func (*EnvironmentDefinitionValues) GetFilesOk

func (o *EnvironmentDefinitionValues) GetFilesOk() (*map[string]string, bool)

GetFilesOk returns a tuple with the Files field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDefinitionValues) GetPulumiConfig

func (o *EnvironmentDefinitionValues) GetPulumiConfig() map[string]interface{}

GetPulumiConfig returns the PulumiConfig field value if set, zero value otherwise.

func (*EnvironmentDefinitionValues) GetPulumiConfigOk

func (o *EnvironmentDefinitionValues) GetPulumiConfigOk() (map[string]interface{}, bool)

GetPulumiConfigOk returns a tuple with the PulumiConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDefinitionValues) HasEnvironmentVariables

func (o *EnvironmentDefinitionValues) HasEnvironmentVariables() bool

HasEnvironmentVariables returns a boolean if a field has been set.

func (*EnvironmentDefinitionValues) HasFiles

func (o *EnvironmentDefinitionValues) HasFiles() bool

HasFiles returns a boolean if a field has been set.

func (*EnvironmentDefinitionValues) HasPulumiConfig

func (o *EnvironmentDefinitionValues) HasPulumiConfig() bool

HasPulumiConfig returns a boolean if a field has been set.

func (EnvironmentDefinitionValues) MarshalJSON

func (o EnvironmentDefinitionValues) MarshalJSON() ([]byte, error)

func (*EnvironmentDefinitionValues) SetEnvironmentVariables

func (o *EnvironmentDefinitionValues) SetEnvironmentVariables(v map[string]string)

SetEnvironmentVariables gets a reference to the given map[string]string and assigns it to the EnvironmentVariables field.

func (*EnvironmentDefinitionValues) SetFiles

func (o *EnvironmentDefinitionValues) SetFiles(v map[string]string)

SetFiles gets a reference to the given map[string]string and assigns it to the Files field.

func (*EnvironmentDefinitionValues) SetPulumiConfig

func (o *EnvironmentDefinitionValues) SetPulumiConfig(v map[string]interface{})

SetPulumiConfig gets a reference to the given map[string]interface{} and assigns it to the PulumiConfig field.

func (EnvironmentDefinitionValues) ToMap

func (o EnvironmentDefinitionValues) ToMap() (map[string]interface{}, error)

func (*EnvironmentDefinitionValues) UnmarshalJSON

func (o *EnvironmentDefinitionValues) UnmarshalJSON(data []byte) (err error)

type EnvironmentDiagnostic

type EnvironmentDiagnostic struct {
	Summary              string  `json:"summary"`
	Path                 *string `json:"path,omitempty"`
	Range                *Range  `json:"range,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnvironmentDiagnostic struct for EnvironmentDiagnostic

func NewEnvironmentDiagnostic

func NewEnvironmentDiagnostic(summary string) *EnvironmentDiagnostic

NewEnvironmentDiagnostic instantiates a new EnvironmentDiagnostic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentDiagnosticWithDefaults

func NewEnvironmentDiagnosticWithDefaults() *EnvironmentDiagnostic

NewEnvironmentDiagnosticWithDefaults instantiates a new EnvironmentDiagnostic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentDiagnostic) GetPath

func (o *EnvironmentDiagnostic) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*EnvironmentDiagnostic) GetPathOk

func (o *EnvironmentDiagnostic) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDiagnostic) GetRange

func (o *EnvironmentDiagnostic) GetRange() Range

GetRange returns the Range field value if set, zero value otherwise.

func (*EnvironmentDiagnostic) GetRangeOk

func (o *EnvironmentDiagnostic) GetRangeOk() (*Range, bool)

GetRangeOk returns a tuple with the Range field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDiagnostic) GetSummary

func (o *EnvironmentDiagnostic) GetSummary() string

GetSummary returns the Summary field value

func (*EnvironmentDiagnostic) GetSummaryOk

func (o *EnvironmentDiagnostic) GetSummaryOk() (*string, bool)

GetSummaryOk returns a tuple with the Summary field value and a boolean to check if the value has been set.

func (*EnvironmentDiagnostic) HasPath

func (o *EnvironmentDiagnostic) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*EnvironmentDiagnostic) HasRange

func (o *EnvironmentDiagnostic) HasRange() bool

HasRange returns a boolean if a field has been set.

func (EnvironmentDiagnostic) MarshalJSON

func (o EnvironmentDiagnostic) MarshalJSON() ([]byte, error)

func (*EnvironmentDiagnostic) SetPath

func (o *EnvironmentDiagnostic) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*EnvironmentDiagnostic) SetRange

func (o *EnvironmentDiagnostic) SetRange(v Range)

SetRange gets a reference to the given Range and assigns it to the Range field.

func (*EnvironmentDiagnostic) SetSummary

func (o *EnvironmentDiagnostic) SetSummary(v string)

SetSummary sets field value

func (EnvironmentDiagnostic) ToMap

func (o EnvironmentDiagnostic) ToMap() (map[string]interface{}, error)

func (*EnvironmentDiagnostic) UnmarshalJSON

func (o *EnvironmentDiagnostic) UnmarshalJSON(data []byte) (err error)

type EnvironmentDiagnostics

type EnvironmentDiagnostics struct {
	Diagnostics []EnvironmentDiagnostic `json:"diagnostics,omitempty"`
}

EnvironmentDiagnostics struct for EnvironmentDiagnostics

func NewEnvironmentDiagnostics

func NewEnvironmentDiagnostics() *EnvironmentDiagnostics

NewEnvironmentDiagnostics instantiates a new EnvironmentDiagnostics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentDiagnosticsWithDefaults

func NewEnvironmentDiagnosticsWithDefaults() *EnvironmentDiagnostics

NewEnvironmentDiagnosticsWithDefaults instantiates a new EnvironmentDiagnostics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentDiagnostics) GetDiagnostics

func (o *EnvironmentDiagnostics) GetDiagnostics() []EnvironmentDiagnostic

GetDiagnostics returns the Diagnostics field value if set, zero value otherwise.

func (*EnvironmentDiagnostics) GetDiagnosticsOk

func (o *EnvironmentDiagnostics) GetDiagnosticsOk() ([]EnvironmentDiagnostic, bool)

GetDiagnosticsOk returns a tuple with the Diagnostics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentDiagnostics) HasDiagnostics

func (o *EnvironmentDiagnostics) HasDiagnostics() bool

HasDiagnostics returns a boolean if a field has been set.

func (EnvironmentDiagnostics) MarshalJSON

func (o EnvironmentDiagnostics) MarshalJSON() ([]byte, error)

func (*EnvironmentDiagnostics) SetDiagnostics

func (o *EnvironmentDiagnostics) SetDiagnostics(v []EnvironmentDiagnostic)

SetDiagnostics gets a reference to the given []EnvironmentDiagnostic and assigns it to the Diagnostics field.

func (EnvironmentDiagnostics) ToMap

func (o EnvironmentDiagnostics) ToMap() (map[string]interface{}, error)

type EnvironmentRevision

type EnvironmentRevision struct {
	Number       int32    `json:"number"`
	CreatorLogin *string  `json:"creatorLogin,omitempty"`
	Created      *string  `json:"created,omitempty"`
	CreatorName  *string  `json:"creatorName,omitempty"`
	Tags         []string `json:"tags,omitempty"`
}

EnvironmentRevision struct for EnvironmentRevision

func NewEnvironmentRevision

func NewEnvironmentRevision(number int32) *EnvironmentRevision

NewEnvironmentRevision instantiates a new EnvironmentRevision object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentRevisionWithDefaults

func NewEnvironmentRevisionWithDefaults() *EnvironmentRevision

NewEnvironmentRevisionWithDefaults instantiates a new EnvironmentRevision object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentRevision) GetCreated

func (o *EnvironmentRevision) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*EnvironmentRevision) GetCreatedOk

func (o *EnvironmentRevision) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevision) GetCreatorLogin

func (o *EnvironmentRevision) GetCreatorLogin() string

GetCreatorLogin returns the CreatorLogin field value if set, zero value otherwise.

func (*EnvironmentRevision) GetCreatorLoginOk

func (o *EnvironmentRevision) GetCreatorLoginOk() (*string, bool)

GetCreatorLoginOk returns a tuple with the CreatorLogin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevision) GetCreatorName

func (o *EnvironmentRevision) GetCreatorName() string

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*EnvironmentRevision) GetCreatorNameOk

func (o *EnvironmentRevision) GetCreatorNameOk() (*string, bool)

GetCreatorNameOk returns a tuple with the CreatorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevision) GetNumber

func (o *EnvironmentRevision) GetNumber() int32

GetNumber returns the Number field value

func (*EnvironmentRevision) GetNumberOk

func (o *EnvironmentRevision) GetNumberOk() (*int32, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*EnvironmentRevision) GetTags

func (o *EnvironmentRevision) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*EnvironmentRevision) GetTagsOk

func (o *EnvironmentRevision) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevision) HasCreated

func (o *EnvironmentRevision) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*EnvironmentRevision) HasCreatorLogin

func (o *EnvironmentRevision) HasCreatorLogin() bool

HasCreatorLogin returns a boolean if a field has been set.

func (*EnvironmentRevision) HasCreatorName

func (o *EnvironmentRevision) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*EnvironmentRevision) HasTags

func (o *EnvironmentRevision) HasTags() bool

HasTags returns a boolean if a field has been set.

func (EnvironmentRevision) MarshalJSON

func (o EnvironmentRevision) MarshalJSON() ([]byte, error)

func (*EnvironmentRevision) SetCreated

func (o *EnvironmentRevision) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*EnvironmentRevision) SetCreatorLogin

func (o *EnvironmentRevision) SetCreatorLogin(v string)

SetCreatorLogin gets a reference to the given string and assigns it to the CreatorLogin field.

func (*EnvironmentRevision) SetCreatorName

func (o *EnvironmentRevision) SetCreatorName(v string)

SetCreatorName gets a reference to the given string and assigns it to the CreatorName field.

func (*EnvironmentRevision) SetNumber

func (o *EnvironmentRevision) SetNumber(v int32)

SetNumber sets field value

func (*EnvironmentRevision) SetTags

func (o *EnvironmentRevision) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (EnvironmentRevision) ToMap

func (o EnvironmentRevision) ToMap() (map[string]interface{}, error)

func (*EnvironmentRevision) UnmarshalJSON

func (o *EnvironmentRevision) UnmarshalJSON(data []byte) (err error)

type EnvironmentRevisionTag

type EnvironmentRevisionTag struct {
	Revision    int32   `json:"revision"`
	Name        string  `json:"name"`
	Created     *string `json:"created,omitempty"`
	Modified    *string `json:"modified,omitempty"`
	EditorLogin *string `json:"editorLogin,omitempty"`
	EditorName  *string `json:"editorName,omitempty"`
}

EnvironmentRevisionTag struct for EnvironmentRevisionTag

func NewEnvironmentRevisionTag

func NewEnvironmentRevisionTag(revision int32, name string) *EnvironmentRevisionTag

NewEnvironmentRevisionTag instantiates a new EnvironmentRevisionTag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentRevisionTagWithDefaults

func NewEnvironmentRevisionTagWithDefaults() *EnvironmentRevisionTag

NewEnvironmentRevisionTagWithDefaults instantiates a new EnvironmentRevisionTag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentRevisionTag) GetCreated

func (o *EnvironmentRevisionTag) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*EnvironmentRevisionTag) GetCreatedOk

func (o *EnvironmentRevisionTag) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) GetEditorLogin

func (o *EnvironmentRevisionTag) GetEditorLogin() string

GetEditorLogin returns the EditorLogin field value if set, zero value otherwise.

func (*EnvironmentRevisionTag) GetEditorLoginOk

func (o *EnvironmentRevisionTag) GetEditorLoginOk() (*string, bool)

GetEditorLoginOk returns a tuple with the EditorLogin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) GetEditorName

func (o *EnvironmentRevisionTag) GetEditorName() string

GetEditorName returns the EditorName field value if set, zero value otherwise.

func (*EnvironmentRevisionTag) GetEditorNameOk

func (o *EnvironmentRevisionTag) GetEditorNameOk() (*string, bool)

GetEditorNameOk returns a tuple with the EditorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) GetModified

func (o *EnvironmentRevisionTag) GetModified() string

GetModified returns the Modified field value if set, zero value otherwise.

func (*EnvironmentRevisionTag) GetModifiedOk

func (o *EnvironmentRevisionTag) GetModifiedOk() (*string, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) GetName

func (o *EnvironmentRevisionTag) GetName() string

GetName returns the Name field value

func (*EnvironmentRevisionTag) GetNameOk

func (o *EnvironmentRevisionTag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) GetRevision

func (o *EnvironmentRevisionTag) GetRevision() int32

GetRevision returns the Revision field value

func (*EnvironmentRevisionTag) GetRevisionOk

func (o *EnvironmentRevisionTag) GetRevisionOk() (*int32, bool)

GetRevisionOk returns a tuple with the Revision field value and a boolean to check if the value has been set.

func (*EnvironmentRevisionTag) HasCreated

func (o *EnvironmentRevisionTag) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*EnvironmentRevisionTag) HasEditorLogin

func (o *EnvironmentRevisionTag) HasEditorLogin() bool

HasEditorLogin returns a boolean if a field has been set.

func (*EnvironmentRevisionTag) HasEditorName

func (o *EnvironmentRevisionTag) HasEditorName() bool

HasEditorName returns a boolean if a field has been set.

func (*EnvironmentRevisionTag) HasModified

func (o *EnvironmentRevisionTag) HasModified() bool

HasModified returns a boolean if a field has been set.

func (EnvironmentRevisionTag) MarshalJSON

func (o EnvironmentRevisionTag) MarshalJSON() ([]byte, error)

func (*EnvironmentRevisionTag) SetCreated

func (o *EnvironmentRevisionTag) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*EnvironmentRevisionTag) SetEditorLogin

func (o *EnvironmentRevisionTag) SetEditorLogin(v string)

SetEditorLogin gets a reference to the given string and assigns it to the EditorLogin field.

func (*EnvironmentRevisionTag) SetEditorName

func (o *EnvironmentRevisionTag) SetEditorName(v string)

SetEditorName gets a reference to the given string and assigns it to the EditorName field.

func (*EnvironmentRevisionTag) SetModified

func (o *EnvironmentRevisionTag) SetModified(v string)

SetModified gets a reference to the given string and assigns it to the Modified field.

func (*EnvironmentRevisionTag) SetName

func (o *EnvironmentRevisionTag) SetName(v string)

SetName sets field value

func (*EnvironmentRevisionTag) SetRevision

func (o *EnvironmentRevisionTag) SetRevision(v int32)

SetRevision sets field value

func (EnvironmentRevisionTag) ToMap

func (o EnvironmentRevisionTag) ToMap() (map[string]interface{}, error)

func (*EnvironmentRevisionTag) UnmarshalJSON

func (o *EnvironmentRevisionTag) UnmarshalJSON(data []byte) (err error)

type EnvironmentRevisionTags

type EnvironmentRevisionTags struct {
	Tags      []EnvironmentRevisionTag `json:"tags,omitempty"`
	NextToken *string                  `json:"nextToken,omitempty"`
}

EnvironmentRevisionTags struct for EnvironmentRevisionTags

func NewEnvironmentRevisionTags

func NewEnvironmentRevisionTags() *EnvironmentRevisionTags

NewEnvironmentRevisionTags instantiates a new EnvironmentRevisionTags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentRevisionTagsWithDefaults

func NewEnvironmentRevisionTagsWithDefaults() *EnvironmentRevisionTags

NewEnvironmentRevisionTagsWithDefaults instantiates a new EnvironmentRevisionTags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentRevisionTags) GetNextToken

func (o *EnvironmentRevisionTags) GetNextToken() string

GetNextToken returns the NextToken field value if set, zero value otherwise.

func (*EnvironmentRevisionTags) GetNextTokenOk

func (o *EnvironmentRevisionTags) GetNextTokenOk() (*string, bool)

GetNextTokenOk returns a tuple with the NextToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTags) GetTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*EnvironmentRevisionTags) GetTagsOk

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentRevisionTags) HasNextToken

func (o *EnvironmentRevisionTags) HasNextToken() bool

HasNextToken returns a boolean if a field has been set.

func (*EnvironmentRevisionTags) HasTags

func (o *EnvironmentRevisionTags) HasTags() bool

HasTags returns a boolean if a field has been set.

func (EnvironmentRevisionTags) MarshalJSON

func (o EnvironmentRevisionTags) MarshalJSON() ([]byte, error)

func (*EnvironmentRevisionTags) SetNextToken

func (o *EnvironmentRevisionTags) SetNextToken(v string)

SetNextToken gets a reference to the given string and assigns it to the NextToken field.

func (*EnvironmentRevisionTags) SetTags

SetTags gets a reference to the given []EnvironmentRevisionTag and assigns it to the Tags field.

func (EnvironmentRevisionTags) ToMap

func (o EnvironmentRevisionTags) ToMap() (map[string]interface{}, error)

type EnvironmentTag added in v0.10.0

type EnvironmentTag struct {
	Name        string  `json:"name"`
	Value       *string `json:"value,omitempty"`
	Created     string  `json:"created"`
	Modified    string  `json:"modified"`
	EditorLogin string  `json:"editorLogin"`
	EditorName  string  `json:"editorName"`
}

EnvironmentTag struct for EnvironmentTag

func NewEnvironmentTag added in v0.10.0

func NewEnvironmentTag(name string, created string, modified string, editorLogin string, editorName string) *EnvironmentTag

NewEnvironmentTag instantiates a new EnvironmentTag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentTagWithDefaults added in v0.10.0

func NewEnvironmentTagWithDefaults() *EnvironmentTag

NewEnvironmentTagWithDefaults instantiates a new EnvironmentTag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentTag) GetCreated added in v0.10.0

func (o *EnvironmentTag) GetCreated() string

GetCreated returns the Created field value

func (*EnvironmentTag) GetCreatedOk added in v0.10.0

func (o *EnvironmentTag) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*EnvironmentTag) GetEditorLogin added in v0.10.0

func (o *EnvironmentTag) GetEditorLogin() string

GetEditorLogin returns the EditorLogin field value

func (*EnvironmentTag) GetEditorLoginOk added in v0.10.0

func (o *EnvironmentTag) GetEditorLoginOk() (*string, bool)

GetEditorLoginOk returns a tuple with the EditorLogin field value and a boolean to check if the value has been set.

func (*EnvironmentTag) GetEditorName added in v0.10.0

func (o *EnvironmentTag) GetEditorName() string

GetEditorName returns the EditorName field value

func (*EnvironmentTag) GetEditorNameOk added in v0.10.0

func (o *EnvironmentTag) GetEditorNameOk() (*string, bool)

GetEditorNameOk returns a tuple with the EditorName field value and a boolean to check if the value has been set.

func (*EnvironmentTag) GetModified added in v0.10.0

func (o *EnvironmentTag) GetModified() string

GetModified returns the Modified field value

func (*EnvironmentTag) GetModifiedOk added in v0.10.0

func (o *EnvironmentTag) GetModifiedOk() (*string, bool)

GetModifiedOk returns a tuple with the Modified field value and a boolean to check if the value has been set.

func (*EnvironmentTag) GetName added in v0.10.0

func (o *EnvironmentTag) GetName() string

GetName returns the Name field value

func (*EnvironmentTag) GetNameOk added in v0.10.0

func (o *EnvironmentTag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*EnvironmentTag) GetValue added in v0.10.0

func (o *EnvironmentTag) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*EnvironmentTag) GetValueOk added in v0.10.0

func (o *EnvironmentTag) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentTag) HasValue added in v0.10.0

func (o *EnvironmentTag) HasValue() bool

HasValue returns a boolean if a field has been set.

func (EnvironmentTag) MarshalJSON added in v0.10.0

func (o EnvironmentTag) MarshalJSON() ([]byte, error)

func (*EnvironmentTag) SetCreated added in v0.10.0

func (o *EnvironmentTag) SetCreated(v string)

SetCreated sets field value

func (*EnvironmentTag) SetEditorLogin added in v0.10.0

func (o *EnvironmentTag) SetEditorLogin(v string)

SetEditorLogin sets field value

func (*EnvironmentTag) SetEditorName added in v0.10.0

func (o *EnvironmentTag) SetEditorName(v string)

SetEditorName sets field value

func (*EnvironmentTag) SetModified added in v0.10.0

func (o *EnvironmentTag) SetModified(v string)

SetModified sets field value

func (*EnvironmentTag) SetName added in v0.10.0

func (o *EnvironmentTag) SetName(v string)

SetName sets field value

func (*EnvironmentTag) SetValue added in v0.10.0

func (o *EnvironmentTag) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (EnvironmentTag) ToMap added in v0.10.0

func (o EnvironmentTag) ToMap() (map[string]interface{}, error)

func (*EnvironmentTag) UnmarshalJSON added in v0.10.0

func (o *EnvironmentTag) UnmarshalJSON(data []byte) (err error)

type Error

type Error struct {
	Message string `json:"message"`
	Code    int32  `json:"code"`
}

Error struct for Error

func NewError

func NewError(message string, code int32) *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCode

func (o *Error) GetCode() int32

GetCode returns the Code field value

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v int32)

SetCode sets field value

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

type EscAPIService

type EscAPIService service

EscAPIService EscAPI service

func (*EscAPIService) CheckEnvironmentYaml

func (a *EscAPIService) CheckEnvironmentYaml(ctx context.Context, orgName string) ApiCheckEnvironmentYamlRequest

CheckEnvironmentYaml Checks an environment definition for errors

Checks an environment definition for errors

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@return ApiCheckEnvironmentYamlRequest

func (*EscAPIService) CheckEnvironmentYamlExecute

func (a *EscAPIService) CheckEnvironmentYamlExecute(r ApiCheckEnvironmentYamlRequest) (*CheckEnvironment, *http.Response, error)

Execute executes the request

@return CheckEnvironment

func (*EscAPIService) CloneEnvironment added in v0.11.0

func (a *EscAPIService) CloneEnvironment(ctx context.Context, orgName string, projectName string, envName string) ApiCloneEnvironmentRequest

CloneEnvironment Clones an environment

Clones an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiCloneEnvironmentRequest

func (*EscAPIService) CloneEnvironmentExecute added in v0.11.0

func (a *EscAPIService) CloneEnvironmentExecute(r ApiCloneEnvironmentRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) CreateEnvironment

func (a *EscAPIService) CreateEnvironment(ctx context.Context, orgName string) ApiCreateEnvironmentRequest

CreateEnvironment Create a new environment

Creates an environment in the given org with the given name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@return ApiCreateEnvironmentRequest

func (*EscAPIService) CreateEnvironmentExecute

func (a *EscAPIService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Error, *http.Response, error)

Execute executes the request

@return Error

func (*EscAPIService) CreateEnvironmentRevisionTag

func (a *EscAPIService) CreateEnvironmentRevisionTag(ctx context.Context, orgName string, projectName string, envName string) ApiCreateEnvironmentRevisionTagRequest

CreateEnvironmentRevisionTag Create environment revision tag

Create environment revision tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiCreateEnvironmentRevisionTagRequest

func (*EscAPIService) CreateEnvironmentRevisionTagExecute

func (a *EscAPIService) CreateEnvironmentRevisionTagExecute(r ApiCreateEnvironmentRevisionTagRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) CreateEnvironmentTag added in v0.10.0

func (a *EscAPIService) CreateEnvironmentTag(ctx context.Context, orgName string, projectName string, envName string) ApiCreateEnvironmentTagRequest

CreateEnvironmentTag Create environment tag

Create environment tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiCreateEnvironmentTagRequest

func (*EscAPIService) CreateEnvironmentTagExecute added in v0.10.0

func (a *EscAPIService) CreateEnvironmentTagExecute(r ApiCreateEnvironmentTagRequest) (*EnvironmentTag, *http.Response, error)

Execute executes the request

@return EnvironmentTag

func (*EscAPIService) DecryptEnvironment

func (a *EscAPIService) DecryptEnvironment(ctx context.Context, orgName string, projectName string, envName string) ApiDecryptEnvironmentRequest

DecryptEnvironment Reads the definition for the given environment with static secrets in plaintext

Reads the definition for the given environment with static secrets in plaintext

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiDecryptEnvironmentRequest

func (*EscAPIService) DecryptEnvironmentExecute

Execute executes the request

@return EnvironmentDefinition

func (*EscAPIService) DeleteEnvironment

func (a *EscAPIService) DeleteEnvironment(ctx context.Context, orgName string, projectName string, envName string) ApiDeleteEnvironmentRequest

DeleteEnvironment Delete an environment

Delete an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiDeleteEnvironmentRequest

func (*EscAPIService) DeleteEnvironmentExecute

func (a *EscAPIService) DeleteEnvironmentExecute(r ApiDeleteEnvironmentRequest) (*Error, *http.Response, error)

Execute executes the request

@return Error

func (*EscAPIService) DeleteEnvironmentRevisionTag

func (a *EscAPIService) DeleteEnvironmentRevisionTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiDeleteEnvironmentRevisionTagRequest

DeleteEnvironmentRevisionTag Delete environment revision tag

Delete environment revision tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiDeleteEnvironmentRevisionTagRequest

func (*EscAPIService) DeleteEnvironmentRevisionTagExecute

func (a *EscAPIService) DeleteEnvironmentRevisionTagExecute(r ApiDeleteEnvironmentRevisionTagRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) DeleteEnvironmentTag added in v0.10.0

func (a *EscAPIService) DeleteEnvironmentTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiDeleteEnvironmentTagRequest

DeleteEnvironmentTag Delete environment tag

Delete environment tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiDeleteEnvironmentTagRequest

func (*EscAPIService) DeleteEnvironmentTagExecute added in v0.10.0

func (a *EscAPIService) DeleteEnvironmentTagExecute(r ApiDeleteEnvironmentTagRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) GetEnvironment

func (a *EscAPIService) GetEnvironment(ctx context.Context, orgName string, projectName string, envName string) ApiGetEnvironmentRequest

GetEnvironment Read an environment

Read an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiGetEnvironmentRequest

func (*EscAPIService) GetEnvironmentAtVersion

func (a *EscAPIService) GetEnvironmentAtVersion(ctx context.Context, orgName string, projectName string, envName string, version string) ApiGetEnvironmentAtVersionRequest

GetEnvironmentAtVersion Read an environment at a specific version

Read an environmentat a specific revision or tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param version Revision or tag
@return ApiGetEnvironmentAtVersionRequest

func (*EscAPIService) GetEnvironmentAtVersionExecute

func (a *EscAPIService) GetEnvironmentAtVersionExecute(r ApiGetEnvironmentAtVersionRequest) (*EnvironmentDefinition, *http.Response, error)

Execute executes the request

@return EnvironmentDefinition

func (*EscAPIService) GetEnvironmentETag

func (a *EscAPIService) GetEnvironmentETag(ctx context.Context, orgName string, projectName string, envName string) ApiGetEnvironmentETagRequest

GetEnvironmentETag Return an Environment ETag

Returns the ETag for the given environment if it exists.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiGetEnvironmentETagRequest

func (*EscAPIService) GetEnvironmentETagExecute

func (a *EscAPIService) GetEnvironmentETagExecute(r ApiGetEnvironmentETagRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) GetEnvironmentExecute

Execute executes the request

@return EnvironmentDefinition

func (*EscAPIService) GetEnvironmentRevisionTag

func (a *EscAPIService) GetEnvironmentRevisionTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiGetEnvironmentRevisionTagRequest

GetEnvironmentRevisionTag Read environment revision tag

Read environment revision tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiGetEnvironmentRevisionTagRequest

func (*EscAPIService) GetEnvironmentRevisionTagExecute

func (a *EscAPIService) GetEnvironmentRevisionTagExecute(r ApiGetEnvironmentRevisionTagRequest) (*EnvironmentRevisionTag, *http.Response, error)

Execute executes the request

@return EnvironmentRevisionTag

func (*EscAPIService) GetEnvironmentTag added in v0.10.0

func (a *EscAPIService) GetEnvironmentTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiGetEnvironmentTagRequest

GetEnvironmentTag Read an environment tag

Read an environment tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiGetEnvironmentTagRequest

func (*EscAPIService) GetEnvironmentTagExecute added in v0.10.0

func (a *EscAPIService) GetEnvironmentTagExecute(r ApiGetEnvironmentTagRequest) (*EnvironmentTag, *http.Response, error)

Execute executes the request

@return EnvironmentTag

func (*EscAPIService) ListEnvironmentRevisionTags

func (a *EscAPIService) ListEnvironmentRevisionTags(ctx context.Context, orgName string, projectName string, envName string) ApiListEnvironmentRevisionTagsRequest

ListEnvironmentRevisionTags List environment revisions

List environment revisions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiListEnvironmentRevisionTagsRequest

func (*EscAPIService) ListEnvironmentRevisionTagsExecute

func (a *EscAPIService) ListEnvironmentRevisionTagsExecute(r ApiListEnvironmentRevisionTagsRequest) (*EnvironmentRevisionTags, *http.Response, error)

Execute executes the request

@return EnvironmentRevisionTags

func (*EscAPIService) ListEnvironmentRevisions

func (a *EscAPIService) ListEnvironmentRevisions(ctx context.Context, orgName string, projectName string, envName string) ApiListEnvironmentRevisionsRequest

ListEnvironmentRevisions List environment revisions

List environment revisions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiListEnvironmentRevisionsRequest

func (*EscAPIService) ListEnvironmentRevisionsExecute

func (a *EscAPIService) ListEnvironmentRevisionsExecute(r ApiListEnvironmentRevisionsRequest) ([]EnvironmentRevision, *http.Response, error)

Execute executes the request

@return []EnvironmentRevision

func (*EscAPIService) ListEnvironmentTags added in v0.10.0

func (a *EscAPIService) ListEnvironmentTags(ctx context.Context, orgName string, projectName string, envName string) ApiListEnvironmentTagsRequest

ListEnvironmentTags List environment tags

List environment tags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiListEnvironmentTagsRequest

func (*EscAPIService) ListEnvironmentTagsExecute added in v0.10.0

func (a *EscAPIService) ListEnvironmentTagsExecute(r ApiListEnvironmentTagsRequest) (*ListEnvironmentTags, *http.Response, error)

Execute executes the request

@return ListEnvironmentTags

func (*EscAPIService) ListEnvironments

func (a *EscAPIService) ListEnvironments(ctx context.Context, orgName string) ApiListEnvironmentsRequest

ListEnvironments List environments in the organization

List environments in the organization available to the current user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@return ApiListEnvironmentsRequest

func (*EscAPIService) ListEnvironmentsExecute

func (a *EscAPIService) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*OrgEnvironments, *http.Response, error)

Execute executes the request

@return OrgEnvironments

func (*EscAPIService) OpenEnvironment

func (a *EscAPIService) OpenEnvironment(ctx context.Context, orgName string, projectName string, envName string) ApiOpenEnvironmentRequest

OpenEnvironment Open an environment session

Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiOpenEnvironmentRequest

func (*EscAPIService) OpenEnvironmentAtVersion

func (a *EscAPIService) OpenEnvironmentAtVersion(ctx context.Context, orgName string, projectName string, envName string, version string) ApiOpenEnvironmentAtVersionRequest

OpenEnvironmentAtVersion Open an environment session at a specific version

Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param version Revision or tag
@return ApiOpenEnvironmentAtVersionRequest

func (*EscAPIService) OpenEnvironmentAtVersionExecute

func (a *EscAPIService) OpenEnvironmentAtVersionExecute(r ApiOpenEnvironmentAtVersionRequest) (*OpenEnvironment, *http.Response, error)

Execute executes the request

@return OpenEnvironment

func (*EscAPIService) OpenEnvironmentExecute

func (a *EscAPIService) OpenEnvironmentExecute(r ApiOpenEnvironmentRequest) (*OpenEnvironment, *http.Response, error)

Execute executes the request

@return OpenEnvironment

func (*EscAPIService) ReadOpenEnvironment

func (a *EscAPIService) ReadOpenEnvironment(ctx context.Context, orgName string, projectName string, envName string, openSessionID string) ApiReadOpenEnvironmentRequest

ReadOpenEnvironment Read an open environment

Reads and decrypts secrets including retrieving dynamic secrets from providers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param openSessionID Open session ID returned from environment open
@return ApiReadOpenEnvironmentRequest

func (*EscAPIService) ReadOpenEnvironmentExecute

func (a *EscAPIService) ReadOpenEnvironmentExecute(r ApiReadOpenEnvironmentRequest) (*Environment, *http.Response, error)

Execute executes the request

@return Environment

func (*EscAPIService) ReadOpenEnvironmentProperty

func (a *EscAPIService) ReadOpenEnvironmentProperty(ctx context.Context, orgName string, projectName string, envName string, openSessionID string) ApiReadOpenEnvironmentPropertyRequest

ReadOpenEnvironmentProperty Read an open environment

Reads and decrypts secrets including retrieving dynamic secrets from providers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param openSessionID Open session ID returned from environment open
@return ApiReadOpenEnvironmentPropertyRequest

func (*EscAPIService) ReadOpenEnvironmentPropertyExecute

func (a *EscAPIService) ReadOpenEnvironmentPropertyExecute(r ApiReadOpenEnvironmentPropertyRequest) (*Value, *http.Response, error)

Execute executes the request

@return Value

func (*EscAPIService) UpdateEnvironmentRevisionTag

func (a *EscAPIService) UpdateEnvironmentRevisionTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiUpdateEnvironmentRevisionTagRequest

UpdateEnvironmentRevisionTag Update environment revision tag

Update environment revision tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiUpdateEnvironmentRevisionTagRequest

func (*EscAPIService) UpdateEnvironmentRevisionTagExecute

func (a *EscAPIService) UpdateEnvironmentRevisionTagExecute(r ApiUpdateEnvironmentRevisionTagRequest) (*http.Response, error)

Execute executes the request

func (*EscAPIService) UpdateEnvironmentTag added in v0.10.0

func (a *EscAPIService) UpdateEnvironmentTag(ctx context.Context, orgName string, projectName string, envName string, tagName string) ApiUpdateEnvironmentTagRequest

UpdateEnvironmentTag Update an environment tag

Update an environment tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@param tagName Tag name
@return ApiUpdateEnvironmentTagRequest

func (*EscAPIService) UpdateEnvironmentTagExecute added in v0.10.0

func (a *EscAPIService) UpdateEnvironmentTagExecute(r ApiUpdateEnvironmentTagRequest) (*EnvironmentTag, *http.Response, error)

Execute executes the request

@return EnvironmentTag

func (*EscAPIService) UpdateEnvironmentYaml

func (a *EscAPIService) UpdateEnvironmentYaml(ctx context.Context, orgName string, projectName string, envName string) ApiUpdateEnvironmentYamlRequest

UpdateEnvironmentYaml Update an existing environment with Yaml file

Validates and updates the given environment's definition.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgName Organization name
@param projectName Project name
@param envName Environment name
@return ApiUpdateEnvironmentYamlRequest

func (*EscAPIService) UpdateEnvironmentYamlExecute

Execute executes the request

@return EnvironmentDiagnostics

type EscClient

type EscClient struct {
	EscAPI *EscAPIService
	// contains filtered or unexported fields
}

EscClient is a client for the ESC API. It wraps the raw API client and provides a more convenient interface.

func NewClient

func NewClient(cfg *Configuration) *EscClient

NewClient creates a new ESC client with the given configuration.

func (*EscClient) CheckEnvironment

func (c *EscClient) CheckEnvironment(ctx context.Context, org string, env *EnvironmentDefinition) (*CheckEnvironment, error)

CheckEnvironment checks the given environment definition for errors.

func (*EscClient) CheckEnvironmentYaml

func (c *EscClient) CheckEnvironmentYaml(ctx context.Context, org, yaml string) (*CheckEnvironment, error)

CheckEnvironmentYaml checks the given environment YAML definition for errors.

func (*EscClient) CloneEnvironment added in v0.11.0

func (c *EscClient) CloneEnvironment(ctx context.Context, org, srcProjectName, srcEnvName, destProjectName, destEnvName string, cloneEnvironmentOptions *CloneEnvironmentOptions) error

CloneEnvironment clones an existing environment into a new environment.

func (*EscClient) CreateEnvironment

func (c *EscClient) CreateEnvironment(ctx context.Context, org, projectName, envName string) error

CreateEnvironment creates a new environment with the given name in the given organization.

func (*EscClient) CreateEnvironmentRevisionTag

func (c *EscClient) CreateEnvironmentRevisionTag(ctx context.Context, org, projectName, envName, tagName string, revision int32) error

CreateEnvironmentRevisionTag creates a new tag with the given name for the environment with the given name in the given organization.

func (*EscClient) CreateEnvironmentTag added in v0.10.0

func (c *EscClient) CreateEnvironmentTag(ctx context.Context, org, projectName, envName, tagName, tagValue string) (*EnvironmentTag, error)

CreateEnvironmentTag creates a new tag with the given name for the environment with the given name in the given organization.

func (*EscClient) DecryptEnvironment

func (c *EscClient) DecryptEnvironment(ctx context.Context, org, projectName, envName string) (*EnvironmentDefinition, string, error)

DecryptEnvironment decrypts the environment with the given name in the given organization.

func (*EscClient) DeleteEnvironment

func (c *EscClient) DeleteEnvironment(ctx context.Context, org, projectName, envName string) error

DeleteEnvironment deletes the environment with the given name in the given organization.

func (*EscClient) DeleteEnvironmentRevisionTag

func (c *EscClient) DeleteEnvironmentRevisionTag(ctx context.Context, org, projectName, envName, tagName string) error

DeleteEnvironmentRevisionTag deletes the tag with the given name for the environment with the given name in the given organization.

func (*EscClient) DeleteEnvironmentTag added in v0.10.0

func (c *EscClient) DeleteEnvironmentTag(ctx context.Context, org, projectName, envName, tagName string) error

DeleteEnvironmentTag deletes the tag with the given name for the environment with the given name in the given organization.

func (*EscClient) GetEnvironment

func (c *EscClient) GetEnvironment(ctx context.Context, org, projectName, envName string) (*EnvironmentDefinition, string, error)

GetEnvironment retrieves the environment with the given name in the given organization. The environment is returned along with the raw YAML definition.

func (*EscClient) GetEnvironmentAtVersion

func (c *EscClient) GetEnvironmentAtVersion(ctx context.Context, org, projectName, envName, version string) (*EnvironmentDefinition, string, error)

GetEnvironmentAtVersion retrieves the environment with the given name in the given organization at the given version. The environment is returned along with the raw YAML definition.

func (*EscClient) GetEnvironmentRevisionTag

func (c *EscClient) GetEnvironmentRevisionTag(ctx context.Context, org, projectName, envName, tagName string) (*EnvironmentRevisionTag, error)

GetEnvironmentRevisionTag retrieves the tag with the given name of the environment with the given name in the given organization.

func (*EscClient) GetEnvironmentTag added in v0.10.0

func (c *EscClient) GetEnvironmentTag(ctx context.Context, org, projectName, envName, tagName string) (*EnvironmentTag, error)

GetEnvironmentTag retrieves the tag with the given name of the environment with the given name in the given organization.