oceancd

package
v1.350.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalIngressAnnotations added in v1.350.0

type AdditionalIngressAnnotations struct {
	CanaryByHeader *string `json:"canary-by-header,omitempty"`
	Key1           *string `json:"key1,omitempty"`
	// contains filtered or unexported fields
}

func (AdditionalIngressAnnotations) MarshalJSON added in v1.350.0

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

func (*AdditionalIngressAnnotations) SetCanaryByHeader added in v1.350.0

func (*AdditionalIngressAnnotations) SetKey1 added in v1.350.0

type Alb added in v1.350.0

type Alb struct {
	AnnotationPrefix *string           `json:"annotationPrefix,omitempty"`
	Ingress          *string           `json:"ingress,omitempty"`
	RootService      *string           `json:"rootService,omitempty"`
	ServicePort      *int              `json:"servicePort,omitempty"`
	StickinessConfig *StickinessConfig `json:"stickinessConfig,omitempty"`
	// contains filtered or unexported fields
}

func (Alb) MarshalJSON added in v1.350.0

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

func (*Alb) SetAnnotationPrefix added in v1.350.0

func (o *Alb) SetAnnotationPrefix(v *string) *Alb

func (*Alb) SetIngress added in v1.350.0

func (o *Alb) SetIngress(v *string) *Alb

func (*Alb) SetRootService added in v1.350.0

func (o *Alb) SetRootService(v *string) *Alb

func (*Alb) SetServicePort added in v1.350.0

func (o *Alb) SetServicePort(v *int) *Alb

func (*Alb) SetStickinessConfig added in v1.350.0

func (o *Alb) SetStickinessConfig(v *StickinessConfig) *Alb

type Ambassador added in v1.350.0

type Ambassador struct {
	Mappings []string `json:"mappings,omitempty"`
	// contains filtered or unexported fields
}

func (Ambassador) MarshalJSON added in v1.350.0

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

func (*Ambassador) SetMappings added in v1.350.0

func (o *Ambassador) SetMappings(v []string) *Ambassador

type Args added in v1.346.0

type Args struct {
	Name      *string    `json:"name,omitempty"`
	Value     *string    `json:"value,omitempty"`
	ValueFrom *ValueFrom `json:"valueFrom,omitempty"`
	// contains filtered or unexported fields
}

func (Args) MarshalJSON added in v1.346.0

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

func (*Args) SetName added in v1.346.0

func (o *Args) SetName(v *string) *Args

func (*Args) SetValue added in v1.346.0

func (o *Args) SetValue(v *string) *Args

func (*Args) SetValueFrom added in v1.346.0

func (o *Args) SetValueFrom(v *ValueFrom) *Args

type BackgroundVerification added in v1.347.0

type BackgroundVerification struct {
	TemplateNames []string `json:"templateNames,omitempty"`
	// contains filtered or unexported fields
}

func (BackgroundVerification) MarshalJSON added in v1.347.0

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

func (*BackgroundVerification) SetTemplateNames added in v1.347.0

func (o *BackgroundVerification) SetTemplateNames(v []string) *BackgroundVerification

type Baseline added in v1.346.0

type Baseline struct {
	MaxRange  *int      `json:"maxRange,omitempty"`
	MinRange  *int      `json:"minRange,omitempty"`
	Provider  *Provider `json:"provider,omitempty"`
	Threshold *string   `json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

func (Baseline) MarshalJSON added in v1.346.0

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

func (*Baseline) SetMaxRange added in v1.346.0

func (o *Baseline) SetMaxRange(v *int) *Baseline

func (*Baseline) SetMinRange added in v1.346.0

func (o *Baseline) SetMinRange(v *int) *Baseline

func (*Baseline) SetProvider added in v1.346.0

func (o *Baseline) SetProvider(v *Provider) *Baseline

func (*Baseline) SetThreshold added in v1.346.0

func (o *Baseline) SetThreshold(v *string) *Baseline

type Canary added in v1.347.0

type Canary struct {
	BackgroundVerification *BackgroundVerification `json:"backgroundVerification,omitempty"`
	Steps                  []*CanarySteps          `json:"steps,omitempty"`
	// contains filtered or unexported fields
}

func (Canary) MarshalJSON added in v1.347.0

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

func (*Canary) SetBackgroundVerification added in v1.347.0

func (o *Canary) SetBackgroundVerification(v *BackgroundVerification) *Canary

func (*Canary) SetSteps added in v1.347.0

func (o *Canary) SetSteps(v []*CanarySteps) *Canary

type CanarySteps added in v1.347.0

type CanarySteps struct {
	Name           *string         `json:"name,omitempty"`
	Pause          *Pause          `json:"pause,omitempty"`
	SetCanaryScale *SetCanaryScale `json:"setCanaryScale,omitempty"`
	SetHeaderRoute *SetHeaderRoute `json:"setHeaderRoute,omitempty"`
	SetWeight      *int            `json:"setWeight,omitempty"`
	Verification   *Verification   `json:"verification,omitempty"`
	// contains filtered or unexported fields
}

func (CanarySteps) MarshalJSON added in v1.347.0

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

func (*CanarySteps) SetName added in v1.347.0

func (o *CanarySteps) SetName(v *string) *CanarySteps

func (*CanarySteps) SetPause added in v1.347.0

func (o *CanarySteps) SetPause(v *Pause) *CanarySteps

func (*CanarySteps) SetSetCanaryScale added in v1.347.0

func (o *CanarySteps) SetSetCanaryScale(v *SetCanaryScale) *CanarySteps

func (*CanarySteps) SetSetHeaderRoute added in v1.347.0

func (o *CanarySteps) SetSetHeaderRoute(v *SetHeaderRoute) *CanarySteps

func (*CanarySteps) SetSetWeight added in v1.347.0

func (o *CanarySteps) SetSetWeight(v *int) *CanarySteps

func (*CanarySteps) SetVerification added in v1.347.0

func (o *CanarySteps) SetVerification(v *Verification) *CanarySteps

type CloudWatch

type CloudWatch struct {
	IAmArn *string `json:"iamArn,omitempty"`
	// contains filtered or unexported fields
}

func (CloudWatch) MarshalJSON

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

func (*CloudWatch) SetIAmArn

func (o *CloudWatch) SetIAmArn(v *string) *CloudWatch

type CloudWatchProvider added in v1.346.0

type CloudWatchProvider struct {
	Duration          *string              `json:"duration,omitempty"`
	MetricDataQueries []*MetricDataQueries `json:"metricDataQueries,omitempty"`
	// contains filtered or unexported fields
}

func (CloudWatchProvider) MarshalJSON added in v1.346.0

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

func (*CloudWatchProvider) SetDuration added in v1.346.0

func (o *CloudWatchProvider) SetDuration(v *string) *CloudWatchProvider

func (*CloudWatchProvider) SetMetricDataQueries added in v1.346.0

func (o *CloudWatchProvider) SetMetricDataQueries(v []*MetricDataQueries) *CloudWatchProvider

type Containers added in v1.346.0

type Containers struct {
	Command []string `json:"command,omitempty"`
	Image   *string  `json:"image,omitempty"`
	Name    *string  `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (Containers) MarshalJSON added in v1.346.0

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

func (*Containers) SetCommand added in v1.346.0

func (o *Containers) SetCommand(v []string) *Containers

func (*Containers) SetImage added in v1.346.0

func (o *Containers) SetImage(v *string) *Containers

func (*Containers) SetName added in v1.346.0

func (o *Containers) SetName(v *string) *Containers

type CreateRolloutSpecInput added in v1.350.0

type CreateRolloutSpecInput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type CreateRolloutSpecOutput added in v1.350.0

type CreateRolloutSpecOutput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type CreateStrategyInput added in v1.347.0

type CreateStrategyInput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type CreateStrategyOutput added in v1.347.0

type CreateStrategyOutput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type CreateVerificationProviderInput

type CreateVerificationProviderInput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type CreateVerificationProviderOutput

type CreateVerificationProviderOutput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type CreateVerificationTemplateInput added in v1.346.0

type CreateVerificationTemplateInput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type CreateVerificationTemplateOutput added in v1.346.0

type CreateVerificationTemplateOutput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type DataDog

type DataDog struct {
	Address *string `json:"address,omitempty"`
	ApiKey  *string `json:"apiKey,omitempty"`
	AppKey  *string `json:"appKey,omitempty"`
	// contains filtered or unexported fields
}

func (DataDog) MarshalJSON

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

func (*DataDog) SetAddress

func (o *DataDog) SetAddress(v *string) *DataDog

func (*DataDog) SetApiKey

func (o *DataDog) SetApiKey(v *string) *DataDog

func (*DataDog) SetAppKey

func (o *DataDog) SetAppKey(v *string) *DataDog

type DataDogProvider added in v1.346.0

type DataDogProvider struct {
	Duration *string `json:"duration,omitempty"`
	Query    *string `json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (DataDogProvider) MarshalJSON added in v1.346.0

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

func (*DataDogProvider) SetDuration added in v1.346.0

func (o *DataDogProvider) SetDuration(v *string) *DataDogProvider

func (*DataDogProvider) SetQuery added in v1.346.0

func (o *DataDogProvider) SetQuery(v *string) *DataDogProvider

type DeleteRolloutSpecInput added in v1.350.0

type DeleteRolloutSpecInput struct {
	RolloutSpecName *string `json:"rolloutSpecName,omitempty"`
}

type DeleteRolloutSpecOutput added in v1.350.0

type DeleteRolloutSpecOutput struct{}

type DeleteStrategyInput added in v1.347.0

type DeleteStrategyInput struct {
	StrategyName *string `json:"strategyName,omitempty"`
}

type DeleteStrategyOutput added in v1.347.0

type DeleteStrategyOutput struct{}

type DeleteVerificationProviderInput

type DeleteVerificationProviderInput struct {
	Name *string `json:"name,omitempty"`
}

type DeleteVerificationProviderOutput

type DeleteVerificationProviderOutput struct{}

type DeleteVerificationTemplateInput added in v1.346.0

type DeleteVerificationTemplateInput struct {
	Name *string `json:"name,omitempty"`
}

type DeleteVerificationTemplateOutput added in v1.346.0

type DeleteVerificationTemplateOutput struct{}

type DestinationRule added in v1.350.0

type DestinationRule struct {
	CanarySubsetName *string `json:"canarySubsetName,omitempty"`
	Name             *string `json:"name,omitempty"`
	StableSubsetName *string `json:"stableSubsetName,omitempty"`
	// contains filtered or unexported fields
}

func (DestinationRule) MarshalJSON added in v1.350.0

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

func (*DestinationRule) SetCanarySubsetName added in v1.350.0

func (o *DestinationRule) SetCanarySubsetName(v *string) *DestinationRule

func (*DestinationRule) SetName added in v1.350.0

func (o *DestinationRule) SetName(v *string) *DestinationRule

func (*DestinationRule) SetStableSubsetName added in v1.350.0

func (o *DestinationRule) SetStableSubsetName(v *string) *DestinationRule

type Dimensions added in v1.346.0

type Dimensions struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Dimensions) MarshalJSON added in v1.346.0

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

func (*Dimensions) SetName added in v1.346.0

func (o *Dimensions) SetName(v *string) *Dimensions

func (*Dimensions) SetValue added in v1.346.0

func (o *Dimensions) SetValue(v *string) *Dimensions

type FailurePolicy added in v1.350.0

type FailurePolicy struct {
	Action *string `json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (FailurePolicy) MarshalJSON added in v1.350.0

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

func (*FailurePolicy) SetAction added in v1.350.0

func (o *FailurePolicy) SetAction(v *string) *FailurePolicy

type FieldRef added in v1.350.0

type FieldRef struct {
	FieldPath *string `json:"fieldPath,omitempty"`
	// contains filtered or unexported fields
}

func (FieldRef) MarshalJSON added in v1.350.0

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

func (*FieldRef) SetFieldPath added in v1.350.0

func (o *FieldRef) SetFieldPath(v *string) *FieldRef

type HeaderValue added in v1.347.0

type HeaderValue struct {
	Exact  *string `json:"exact,omitempty"`
	Prefix *string `json:"prefix,omitempty"`
	Regex  *string `json:"regex,omitempty"`
	// contains filtered or unexported fields
}

func (HeaderValue) MarshalJSON added in v1.347.0

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

func (*HeaderValue) SetExact added in v1.347.0

func (o *HeaderValue) SetExact(v *string) *HeaderValue

func (*HeaderValue) SetPrefix added in v1.347.0

func (o *HeaderValue) SetPrefix(v *string) *HeaderValue

func (*HeaderValue) SetRegex added in v1.347.0

func (o *HeaderValue) SetRegex(v *string) *HeaderValue

type Headers added in v1.346.0

type Headers struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Headers) MarshalJSON added in v1.346.0

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

func (*Headers) SetKey added in v1.346.0

func (o *Headers) SetKey(v *string) *Headers

func (*Headers) SetValue added in v1.346.0

func (o *Headers) SetValue(v *string) *Headers

type Istio added in v1.350.0

type Istio struct {
	DestinationRule *DestinationRule   `json:"destinationRule,omitempty"`
	VirtualServices []*VirtualServices `json:"virtualServices,omitempty"`
	// contains filtered or unexported fields
}

func (Istio) MarshalJSON added in v1.350.0

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

func (*Istio) SetDestinationRule added in v1.350.0

func (o *Istio) SetDestinationRule(v *DestinationRule) *Istio

func (*Istio) SetVirtualServices added in v1.350.0

func (o *Istio) SetVirtualServices(v []*VirtualServices) *Istio

type Jenkins

type Jenkins struct {
	ApiToken *string `json:"apiToken,omitempty"`
	BaseUrl  *string `json:"baseUrl,omitempty"`
	UserName *string `json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (Jenkins) MarshalJSON

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

func (*Jenkins) SetApiToken

func (o *Jenkins) SetApiToken(v *string) *Jenkins

func (*Jenkins) SetBaseUrl

func (o *Jenkins) SetBaseUrl(v *string) *Jenkins

func (*Jenkins) SetUserName

func (o *Jenkins) SetUserName(v *string) *Jenkins

type JenkinsProvider added in v1.346.0

type JenkinsProvider struct {
	Interval        *string       `json:"interval,omitempty"`
	PipelineName    *string       `json:"pipelineName,omitempty"`
	Parameters      []*Parameters `json:"parameters,omitempty"`
	Timeout         *string       `json:"timeout,omitempty"`
	TLSVerification *bool         `json:"tlsVerification,omitempty"`
	// contains filtered or unexported fields
}

func (JenkinsProvider) MarshalJSON added in v1.346.0

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

func (*JenkinsProvider) SetInterval added in v1.346.0

func (o *JenkinsProvider) SetInterval(v *string) *JenkinsProvider

func (*JenkinsProvider) SetParameters added in v1.346.0

func (o *JenkinsProvider) SetParameters(v []*Parameters) *JenkinsProvider

func (*JenkinsProvider) SetPipelineName added in v1.346.0

func (o *JenkinsProvider) SetPipelineName(v *string) *JenkinsProvider

func (*JenkinsProvider) SetTLSVerification added in v1.346.0

func (o *JenkinsProvider) SetTLSVerification(v *bool) *JenkinsProvider

func (*JenkinsProvider) SetTimeout added in v1.346.0

func (o *JenkinsProvider) SetTimeout(v *string) *JenkinsProvider

type Job added in v1.346.0

type Job struct {
	Spec *Spec `json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (Job) MarshalJSON added in v1.346.0

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

func (*Job) SetSpec added in v1.346.0

func (o *Job) SetSpec(v *Spec) *Job

type ListRolloutSpecsOutput added in v1.350.0

type ListRolloutSpecsOutput struct {
	RolloutSpecs []*RolloutSpec `json:"rolloutSpec,omitempty"`
}

type ListStrategiesOutput added in v1.347.0

type ListStrategiesOutput struct {
	Strategies []*Strategy `json:"strategy,omitempty"`
}

type ListVerificationProvidersOutput

type ListVerificationProvidersOutput struct {
	VerificationProviders []*VerificationProvider `json:"verificationProvider,omitempty"`
}

type ListVerificationTemplatesOutput added in v1.346.0

type ListVerificationTemplatesOutput struct {
	VerificationTemplate []*VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type Match added in v1.347.0

type Match struct {
	HeaderName  *string      `json:"headerName,omitempty"`
	HeaderValue *HeaderValue `json:"headerValue,omitempty"`
	// contains filtered or unexported fields
}

func (Match) MarshalJSON added in v1.347.0

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

func (*Match) SetHeaderName added in v1.347.0

func (o *Match) SetHeaderName(v *string) *Match

func (*Match) SetHeaderValue added in v1.347.0

func (o *Match) SetHeaderValue(v *HeaderValue) *Match

type Metric added in v1.346.0

type Metric struct {
	Dimensions []*Dimensions `json:"dimensions,omitempty"`
	MetricName *string       `json:"metricName,omitempty"`
	Namespace  *string       `json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (Metric) MarshalJSON added in v1.346.0

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

func (*Metric) SetDimensions added in v1.346.0

func (o *Metric) SetDimensions(v []*Dimensions) *Metric

func (*Metric) SetMetricName added in v1.346.0

func (o *Metric) SetMetricName(v *string) *Metric

func (*Metric) SetNamespace added in v1.346.0

func (o *Metric) SetNamespace(v *string) *Metric

type MetricDataQueries added in v1.346.0

type MetricDataQueries struct {
	Expression *string     `json:"expression,omitempty"`
	ID         *string     `json:"id,omitempty"`
	Label      *string     `json:"label,omitempty"`
	MetricStat *MetricStat `json:"metricStat,omitempty"`
	Period     *int        `json:"period,omitempty"`
	ReturnData *bool       `json:"returnData,omitempty"`
	// contains filtered or unexported fields
}

func (MetricDataQueries) MarshalJSON added in v1.346.0

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

func (*MetricDataQueries) SetExpression added in v1.346.0

func (o *MetricDataQueries) SetExpression(v *string) *MetricDataQueries

func (*MetricDataQueries) SetID added in v1.346.0

func (*MetricDataQueries) SetLabel added in v1.346.0

func (o *MetricDataQueries) SetLabel(v *string) *MetricDataQueries

func (*MetricDataQueries) SetMetricStat added in v1.346.0

func (o *MetricDataQueries) SetMetricStat(v *MetricStat) *MetricDataQueries

func (*MetricDataQueries) SetPeriod added in v1.346.0

func (o *MetricDataQueries) SetPeriod(v *int) *MetricDataQueries

func (*MetricDataQueries) SetReturnData added in v1.346.0

func (o *MetricDataQueries) SetReturnData(v *bool) *MetricDataQueries

type MetricStat added in v1.346.0

type MetricStat struct {
	Metric *Metric `json:"metric,omitempty"`
	Period *int    `json:"period,omitempty"`
	Stat   *string `json:"stat,omitempty"`
	Unit   *string `json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (MetricStat) MarshalJSON added in v1.346.0

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

func (*MetricStat) SetMetric added in v1.346.0

func (o *MetricStat) SetMetric(v *Metric) *MetricStat

func (*MetricStat) SetPeriod added in v1.346.0

func (o *MetricStat) SetPeriod(v *int) *MetricStat

func (*MetricStat) SetStat added in v1.346.0

func (o *MetricStat) SetStat(v *string) *MetricStat

func (*MetricStat) SetUnit added in v1.346.0

func (o *MetricStat) SetUnit(v *string) *MetricStat

type Metrics added in v1.346.0

type Metrics struct {
	Baseline              *Baseline `json:"baseline,omitempty"`
	ConsecutiveErrorLimit *int      `json:"consecutiveErrorLimit,omitempty"`
	Count                 *int      `json:"count,omitempty"`
	DryRun                *bool     `json:"dryRun,omitempty"`
	FailureCondition      *string   `json:"failureCondition,omitempty"`
	FailureLimit          *int      `json:"failureLimit,omitempty"`
	InitialDelay          *string   `json:"initialDelay,omitempty"`
	Interval              *string   `json:"interval,omitempty"`
	Name                  *string   `json:"name,omitempty"`
	Provider              *Provider `json:"provider,omitempty"`
	SuccessCondition      *string   `json:"successCondition,omitempty"`
	// contains filtered or unexported fields
}

func (Metrics) MarshalJSON added in v1.346.0

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

func (*Metrics) SetBaseLine added in v1.346.0

func (o *Metrics) SetBaseLine(v *Baseline) *Metrics

func (*Metrics) SetConsecutiveErrorLimit added in v1.346.0

func (o *Metrics) SetConsecutiveErrorLimit(v *int) *Metrics

func (*Metrics) SetCount added in v1.346.0

func (o *Metrics) SetCount(v *int) *Metrics

func (*Metrics) SetDryRun added in v1.346.0

func (o *Metrics) SetDryRun(v *bool) *Metrics

func (*Metrics) SetFailureCondition added in v1.346.0

func (o *Metrics) SetFailureCondition(v *string) *Metrics

func (*Metrics) SetFailureLimit added in v1.346.0

func (o *Metrics) SetFailureLimit(v *int) *Metrics

func (*Metrics) SetInitialDelay added in v1.346.0

func (o *Metrics) SetInitialDelay(v *string) *Metrics

func (*Metrics) SetInterval added in v1.346.0

func (o *Metrics) SetInterval(v *string) *Metrics

func (*Metrics) SetName added in v1.346.0

func (o *Metrics) SetName(v *string) *Metrics

func (*Metrics) SetProvider added in v1.346.0

func (o *Metrics) SetProvider(v *Provider) *Metrics

func (*Metrics) SetSuccessCondition added in v1.346.0

func (o *Metrics) SetSuccessCondition(v *string) *Metrics

type NewRelic

type NewRelic struct {
	AccountId        *string `json:"accountId,omitempty"`
	BaseUrlNerdGraph *string `json:"baseUrlNerdGraph,omitempty"`
	BaseUrlRest      *string `json:"baseUrlRest,omitempty"`
	PersonalApiKey   *string `json:"personalApiKey,omitempty"`
	Region           *string `json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (NewRelic) MarshalJSON

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

func (*NewRelic) SetAccountId

func (o *NewRelic) SetAccountId(v *string) *NewRelic

func (*NewRelic) SetBaseUrlNerdGraph

func (o *NewRelic) SetBaseUrlNerdGraph(v *string) *NewRelic

func (*NewRelic) SetBaseUrlRest

func (o *NewRelic) SetBaseUrlRest(v *string) *NewRelic

func (*NewRelic) SetPersonalApiKey

func (o *NewRelic) SetPersonalApiKey(v *string) *NewRelic

func (*NewRelic) SetRegion

func (o *NewRelic) SetRegion(v *string) *NewRelic

type NewRelicProvider added in v1.346.0

type NewRelicProvider struct {
	Profile *string `json:"profile,omitempty"`
	Query   *string `json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (NewRelicProvider) MarshalJSON added in v1.346.0

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

func (*NewRelicProvider) SetProfile added in v1.346.0

func (o *NewRelicProvider) SetProfile(v *string) *NewRelicProvider

func (*NewRelicProvider) SetQuery added in v1.346.0

func (o *NewRelicProvider) SetQuery(v *string) *NewRelicProvider

type Nginx added in v1.350.0

type Nginx struct {
	AdditionalIngressAnnotations *AdditionalIngressAnnotations `json:"additionalIngressAnnotations,omitempty"`
	AnnotationPrefix             *string                       `json:"annotationPrefix,omitempty"`
	StableIngress                *string                       `json:"stableIngress,omitempty"`
	// contains filtered or unexported fields
}

func (Nginx) MarshalJSON added in v1.350.0

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

func (*Nginx) SetAdditionalIngressAnnotation added in v1.350.0

func (o *Nginx) SetAdditionalIngressAnnotation(v *AdditionalIngressAnnotations) *Nginx

func (*Nginx) SetAnnotationPreffix added in v1.350.0

func (o *Nginx) SetAnnotationPreffix(v *string) *Nginx

func (*Nginx) SetStableIngress added in v1.350.0

func (o *Nginx) SetStableIngress(v *string) *Nginx

type Parameters added in v1.346.0

type Parameters struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Parameters) MarshalJSON added in v1.346.0

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

func (*Parameters) SetKey added in v1.346.0

func (o *Parameters) SetKey(v *string) *Parameters

func (*Parameters) SetValue added in v1.346.0

func (o *Parameters) SetValue(v *string) *Parameters

type PatchRolloutSpecInput added in v1.350.0

type PatchRolloutSpecInput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type PatchRolloutSpecOutput added in v1.350.0

type PatchRolloutSpecOutput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type PatchStrategyInput added in v1.347.0

type PatchStrategyInput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type PatchStrategyOutput added in v1.347.0

type PatchStrategyOutput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type PatchVerificationProviderInput

type PatchVerificationProviderInput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type PatchVerificationProviderOutput

type PatchVerificationProviderOutput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type PatchVerificationTemplateInput added in v1.346.0

type PatchVerificationTemplateInput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type PatchVerificationTemplateOutput added in v1.346.0

type PatchVerificationTemplateOutput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type Pause added in v1.347.0

type Pause struct {
	Duration *string `json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (Pause) MarshalJSON added in v1.347.0

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

func (*Pause) SetDuration added in v1.347.0

func (o *Pause) SetDuration(v *string) *Pause

type PingPong added in v1.350.0

type PingPong struct {
	PingService *string `json:"pingService,omitempty"`
	PongService *string `json:"pongService,omitempty"`
	// contains filtered or unexported fields
}

func (PingPong) MarshalJSON added in v1.350.0

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

func (*PingPong) SetPingService added in v1.350.0

func (o *PingPong) SetPingService(v *string) *PingPong

func (*PingPong) SetPongService added in v1.350.0

func (o *PingPong) SetPongService(v *string) *PingPong

type Prometheus

type Prometheus struct {
	Address *string `json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (Prometheus) MarshalJSON

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

func (*Prometheus) SetAddress

func (o *Prometheus) SetAddress(v *string) *Prometheus

type PrometheusProvider added in v1.346.0

type PrometheusProvider struct {
	Query *string `json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (PrometheusProvider) MarshalJSON added in v1.346.0

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

func (*PrometheusProvider) SetQuery added in v1.346.0

func (o *PrometheusProvider) SetQuery(v *string) *PrometheusProvider

type Provider added in v1.346.0

type Provider struct {
	CloudWatch *CloudWatchProvider `json:"cloudWatch,omitempty"`
	Datadog    *DataDogProvider    `json:"datadog,omitempty"`
	Jenkins    *JenkinsProvider    `json:"jenkins,omitempty"`
	NewRelic   *NewRelicProvider   `json:"newRelic,omitempty"`
	Prometheus *PrometheusProvider `json:"prometheus,omitempty"`
	Job        *Job                `json:"job,omitempty"`
	Web        *Web                `json:"web,omitempty"`
	// contains filtered or unexported fields
}

func (Provider) MarshalJSON added in v1.346.0

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

func (*Provider) SetCloudWatch added in v1.346.0

func (o *Provider) SetCloudWatch(v *CloudWatchProvider) *Provider

func (*Provider) SetDataDog added in v1.346.0

func (o *Provider) SetDataDog(v *DataDogProvider) *Provider

func (*Provider) SetJenkins added in v1.346.0

func (o *Provider) SetJenkins(v *JenkinsProvider) *Provider

func (*Provider) SetJob added in v1.349.1

func (o *Provider) SetJob(v *Job) *Provider

func (*Provider) SetNewRelic added in v1.346.0

func (o *Provider) SetNewRelic(v *NewRelicProvider) *Provider

func (*Provider) SetPrometheus added in v1.346.0

func (o *Provider) SetPrometheus(v *PrometheusProvider) *Provider

func (*Provider) SetWeb added in v1.346.0

func (o *Provider) SetWeb(v *Web) *Provider

type ReadRolloutSpecInput added in v1.350.0

type ReadRolloutSpecInput struct {
	RolloutSpecName *string `json:"rolloutSpecName,omitempty"`
}

type ReadRolloutSpecOutput added in v1.350.0

type ReadRolloutSpecOutput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type ReadStrategyInput added in v1.347.0

type ReadStrategyInput struct {
	StrategyName *string `json:"strategyName,omitempty"`
}

type ReadStrategyOutput added in v1.347.0

type ReadStrategyOutput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type ReadVerificationProviderInput

type ReadVerificationProviderInput struct {
	Name *string `json:"name,omitempty"`
}

type ReadVerificationProviderOutput

type ReadVerificationProviderOutput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type ReadVerificationTemplateInput added in v1.346.0

type ReadVerificationTemplateInput struct {
	Name *string `json:"name,omitempty"`
}

type ReadVerificationTemplateOutput added in v1.346.0

type ReadVerificationTemplateOutput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type Rolling added in v1.347.0

type Rolling struct {
	Steps []*RollingSteps `json:"steps,omitempty"`
	// contains filtered or unexported fields
}

func (Rolling) MarshalJSON added in v1.347.0

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

func (*Rolling) SetSteps added in v1.347.0

func (o *Rolling) SetSteps(v []*RollingSteps) *Rolling

type RollingSteps added in v1.347.0

type RollingSteps struct {
	Name         *string       `json:"name,omitempty"`
	Pause        *Pause        `json:"pause,omitempty"`
	Verification *Verification `json:"verification,omitempty"`
	// contains filtered or unexported fields
}

func (RollingSteps) MarshalJSON added in v1.347.0

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

func (*RollingSteps) SetName added in v1.347.0

func (o *RollingSteps) SetName(v *string) *RollingSteps

func (*RollingSteps) SetPause added in v1.347.0

func (o *RollingSteps) SetPause(v *Pause) *RollingSteps

func (*RollingSteps) SetVerification added in v1.347.0

func (o *RollingSteps) SetVerification(v *Verification) *RollingSteps

type RolloutSpec added in v1.350.0

type RolloutSpec struct {
	FailurePolicy   *FailurePolicy       `json:"failurePolicy,omitempty"`
	Name            *string              `json:"name,omitempty"`
	SpotDeployment  *SpotDeployment      `json:"spotDeployment,omitempty"`
	SpotDeployments []*SpotDeployment    `json:"spotDeployments,omitempty"`
	Strategy        *RolloutSpecStrategy `json:"strategy,omitempty"`
	Traffic         *Traffic             `json:"traffic,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (RolloutSpec) MarshalJSON added in v1.350.0

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

func (*RolloutSpec) SetFailurePolicy added in v1.350.0

func (o *RolloutSpec) SetFailurePolicy(v *FailurePolicy) *RolloutSpec

func (*RolloutSpec) SetName added in v1.350.0

func (o *RolloutSpec) SetName(v *string) *RolloutSpec

func (*RolloutSpec) SetSpotDeployment added in v1.350.0

func (o *RolloutSpec) SetSpotDeployment(v *SpotDeployment) *RolloutSpec

func (*RolloutSpec) SetSpotDeployments added in v1.350.0

func (o *RolloutSpec) SetSpotDeployments(v []*SpotDeployment) *RolloutSpec

func (*RolloutSpec) SetStrategy added in v1.350.0

func (o *RolloutSpec) SetStrategy(v *RolloutSpecStrategy) *RolloutSpec

func (*RolloutSpec) SetTraffic added in v1.350.0

func (o *RolloutSpec) SetTraffic(v *Traffic) *RolloutSpec

type RolloutSpecArgs added in v1.350.0

type RolloutSpecArgs struct {
	Name      *string               `json:"name,omitempty"`
	Value     *string               `json:"value,omitempty"`
	ValueFrom *RolloutSpecValueFrom `json:"valueFrom,omitempty"`
	// contains filtered or unexported fields
}

func (RolloutSpecArgs) MarshalJSON added in v1.350.0

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

func (*RolloutSpecArgs) SetName added in v1.350.0

func (o *RolloutSpecArgs) SetName(v *string) *RolloutSpecArgs

func (*RolloutSpecArgs) SetValue added in v1.350.0

func (o *RolloutSpecArgs) SetValue(v *string) *RolloutSpecArgs

func (*RolloutSpecArgs) SetValueFrom added in v1.350.0

type RolloutSpecStrategy added in v1.350.0

type RolloutSpecStrategy struct {
	Args []*RolloutSpecArgs `json:"args,omitempty"`
	Name *string            `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (RolloutSpecStrategy) MarshalJSON added in v1.350.0

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

func (*RolloutSpecStrategy) SetArgs added in v1.350.0

func (*RolloutSpecStrategy) SetName added in v1.350.0

type RolloutSpecValueFrom added in v1.350.0

type RolloutSpecValueFrom struct {
	FieldRef *FieldRef `json:"fieldRef,omitempty"`
	// contains filtered or unexported fields
}

func (RolloutSpecValueFrom) MarshalJSON added in v1.350.0

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

func (*RolloutSpecValueFrom) SetFieldRef added in v1.350.0

type SecretKeyRef added in v1.346.0

type SecretKeyRef struct {
	Key  *string `json:"key,omitempty"`
	Name *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (SecretKeyRef) MarshalJSON added in v1.346.0

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

func (*SecretKeyRef) SetKey added in v1.346.0

func (o *SecretKeyRef) SetKey(v *string) *SecretKeyRef

func (*SecretKeyRef) SetName added in v1.346.0

func (o *SecretKeyRef) SetName(v *string) *SecretKeyRef

type Service

type Service interface {
	ListVerificationProviders(context.Context) (*ListVerificationProvidersOutput, error)
	CreateVerificationProvider(context.Context, *CreateVerificationProviderInput) (*CreateVerificationProviderOutput, error)
	ReadVerificationProvider(context.Context, *ReadVerificationProviderInput) (*ReadVerificationProviderOutput, error)
	UpdateVerificationProvider(context.Context, *UpdateVerificationProviderInput) (*UpdateVerificationProviderOutput, error)
	PatchVerificationProvider(context.Context, *PatchVerificationProviderInput) (*PatchVerificationProviderOutput, error)
	DeleteVerificationProvider(context.Context, *DeleteVerificationProviderInput) (*DeleteVerificationProviderOutput, error)

	ListVerificationTemplates(context.Context) (*ListVerificationTemplatesOutput, error)
	CreateVerificationTemplate(context.Context, *CreateVerificationTemplateInput) (*CreateVerificationTemplateOutput, error)
	ReadVerificationTemplate(context.Context, *ReadVerificationTemplateInput) (*ReadVerificationTemplateOutput, error)
	UpdateVerificationTemplate(context.Context, *UpdateVerificationTemplateInput) (*UpdateVerificationTemplateOutput, error)
	PatchVerificationTemplate(context.Context, *PatchVerificationTemplateInput) (*PatchVerificationTemplateOutput, error)
	DeleteVerificationTemplate(context.Context, *DeleteVerificationTemplateInput) (*DeleteVerificationTemplateOutput, error)

	ListStrategies(context.Context) (*ListStrategiesOutput, error)
	CreateStrategy(context.Context, *CreateStrategyInput) (*CreateStrategyOutput, error)
	ReadStrategy(context.Context, *ReadStrategyInput) (*ReadStrategyOutput, error)
	UpdateStrategy(context.Context, *UpdateStrategyInput) (*UpdateStrategyOutput, error)
	PatchStrategy(context.Context, *PatchStrategyInput) (*PatchStrategyOutput, error)
	DeleteStrategy(context.Context, *DeleteStrategyInput) (*DeleteStrategyOutput, error)

	ListRolloutSpecs(context.Context) (*ListRolloutSpecsOutput, error)
	CreateRolloutSpec(context.Context, *CreateRolloutSpecInput) (*CreateRolloutSpecOutput, error)
	ReadRolloutSpec(context.Context, *ReadRolloutSpecInput) (*ReadRolloutSpecOutput, error)
	UpdateRolloutSpec(context.Context, *UpdateRolloutSpecInput) (*UpdateRolloutSpecOutput, error)
	PatchRolloutSpec(context.Context, *PatchRolloutSpecInput) (*PatchRolloutSpecOutput, error)
	DeleteRolloutSpec(context.Context, *DeleteRolloutSpecInput) (*DeleteRolloutSpecOutput, error)
}

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) CreateRolloutSpec added in v1.350.0

func (s *ServiceOp) CreateRolloutSpec(ctx context.Context, input *CreateRolloutSpecInput) (*CreateRolloutSpecOutput, error)

func (*ServiceOp) CreateStrategy added in v1.347.0

func (s *ServiceOp) CreateStrategy(ctx context.Context, input *CreateStrategyInput) (*CreateStrategyOutput, error)

func (*ServiceOp) CreateVerificationProvider

func (s *ServiceOp) CreateVerificationProvider(ctx context.Context, input *CreateVerificationProviderInput) (*CreateVerificationProviderOutput, error)

func (*ServiceOp) CreateVerificationTemplate added in v1.346.0

func (s *ServiceOp) CreateVerificationTemplate(ctx context.Context, input *CreateVerificationTemplateInput) (*CreateVerificationTemplateOutput, error)

func (*ServiceOp) DeleteRolloutSpec added in v1.350.0

func (s *ServiceOp) DeleteRolloutSpec(ctx context.Context, input *DeleteRolloutSpecInput) (*DeleteRolloutSpecOutput, error)

func (*ServiceOp) DeleteStrategy added in v1.347.0

func (s *ServiceOp) DeleteStrategy(ctx context.Context, input *DeleteStrategyInput) (*DeleteStrategyOutput, error)

func (*ServiceOp) DeleteVerificationProvider

func (s *ServiceOp) DeleteVerificationProvider(ctx context.Context, input *DeleteVerificationProviderInput) (*DeleteVerificationProviderOutput, error)

func (*ServiceOp) DeleteVerificationTemplate added in v1.346.0

func (s *ServiceOp) DeleteVerificationTemplate(ctx context.Context, input *DeleteVerificationTemplateInput) (*DeleteVerificationTemplateOutput, error)

func (*ServiceOp) ListRolloutSpecs added in v1.350.0

func (s *ServiceOp) ListRolloutSpecs(ctx context.Context) (*ListRolloutSpecsOutput, error)

func (*ServiceOp) ListStrategies added in v1.347.0

func (s *ServiceOp) ListStrategies(ctx context.Context) (*ListStrategiesOutput, error)

func (*ServiceOp) ListVerificationProviders

func (s *ServiceOp) ListVerificationProviders(ctx context.Context) (*ListVerificationProvidersOutput, error)

func (*ServiceOp) ListVerificationTemplates added in v1.346.0

func (s *ServiceOp) ListVerificationTemplates(ctx context.Context) (*ListVerificationTemplatesOutput, error)

func (*ServiceOp) PatchRolloutSpec added in v1.350.0

func (s *ServiceOp) PatchRolloutSpec(ctx context.Context, input *PatchRolloutSpecInput) (*PatchRolloutSpecOutput, error)

func (*ServiceOp) PatchStrategy added in v1.347.0

func (s *ServiceOp) PatchStrategy(ctx context.Context, input *PatchStrategyInput) (*PatchStrategyOutput, error)

func (*ServiceOp) PatchVerificationProvider

func (s *ServiceOp) PatchVerificationProvider(ctx context.Context, input *PatchVerificationProviderInput) (*PatchVerificationProviderOutput, error)

func (*ServiceOp) PatchVerificationTemplate added in v1.346.0

func (s *ServiceOp) PatchVerificationTemplate(ctx context.Context, input *PatchVerificationTemplateInput) (*PatchVerificationTemplateOutput, error)

func (*ServiceOp) ReadRolloutSpec added in v1.350.0

func (s *ServiceOp) ReadRolloutSpec(ctx context.Context, input *ReadRolloutSpecInput) (*ReadRolloutSpecOutput, error)

func (*ServiceOp) ReadStrategy added in v1.347.0

func (s *ServiceOp) ReadStrategy(ctx context.Context, input *ReadStrategyInput) (*ReadStrategyOutput, error)

func (*ServiceOp) ReadVerificationProvider

func (s *ServiceOp) ReadVerificationProvider(ctx context.Context, input *ReadVerificationProviderInput) (*ReadVerificationProviderOutput, error)

func (*ServiceOp) ReadVerificationTemplate added in v1.346.0

func (s *ServiceOp) ReadVerificationTemplate(ctx context.Context, input *ReadVerificationTemplateInput) (*ReadVerificationTemplateOutput, error)

func (*ServiceOp) UpdateRolloutSpec added in v1.350.0

func (s *ServiceOp) UpdateRolloutSpec(ctx context.Context, input *UpdateRolloutSpecInput) (*UpdateRolloutSpecOutput, error)

func (*ServiceOp) UpdateStrategy added in v1.347.0

func (s *ServiceOp) UpdateStrategy(ctx context.Context, input *UpdateStrategyInput) (*UpdateStrategyOutput, error)

func (*ServiceOp) UpdateVerificationProvider

func (s *ServiceOp) UpdateVerificationProvider(ctx context.Context, input *UpdateVerificationProviderInput) (*UpdateVerificationProviderOutput, error)

func (*ServiceOp) UpdateVerificationTemplate added in v1.346.0

func (s *ServiceOp) UpdateVerificationTemplate(ctx context.Context, input *UpdateVerificationTemplateInput) (*UpdateVerificationTemplateOutput, error)

type SetCanaryScale added in v1.347.0

type SetCanaryScale struct {
	MatchTrafficWeight *bool `json:"matchTrafficWeight,omitempty"`
	Replicas           *int  `json:"replicas,omitempty"`
	Weight             *int  `json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (SetCanaryScale) MarshalJSON added in v1.347.0

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

func (*SetCanaryScale) SetMatchTrafficWeight added in v1.347.0

func (o *SetCanaryScale) SetMatchTrafficWeight(v *bool) *SetCanaryScale

func (*SetCanaryScale) SetReplicas added in v1.347.0

func (o *SetCanaryScale) SetReplicas(v *int) *SetCanaryScale

func (*SetCanaryScale) SetWeight added in v1.347.0

func (o *SetCanaryScale) SetWeight(v *int) *SetCanaryScale

type SetHeaderRoute added in v1.347.0

type SetHeaderRoute struct {
	Match []*Match `json:"match,omitempty"`
	Name  *string  `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (SetHeaderRoute) MarshalJSON added in v1.347.0

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

func (*SetHeaderRoute) SetMatch added in v1.347.0

func (o *SetHeaderRoute) SetMatch(v []*Match) *SetHeaderRoute

func (*SetHeaderRoute) SetName added in v1.347.0

func (o *SetHeaderRoute) SetName(v *string) *SetHeaderRoute

type Smi added in v1.350.0

type Smi struct {
	RootService      *string `json:"rootService,omitempty"`
	TrafficSplitName *string `json:"trafficSplitName,omitempty"`
	// contains filtered or unexported fields
}

func (Smi) MarshalJSON added in v1.350.0

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

func (*Smi) SetRootService added in v1.350.0

func (o *Smi) SetRootService(v *string) *Smi

func (*Smi) SetTrafficSplitName added in v1.350.0

func (o *Smi) SetTrafficSplitName(v *string) *Smi

type Spec added in v1.346.0

type Spec struct {
	BackoffLimit *int      `json:"backoffLimit,omitempty"`
	Template     *Template `json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (Spec) MarshalJSON added in v1.346.0

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

func (*Spec) SetBackoffLimit added in v1.346.0

func (o *Spec) SetBackoffLimit(v *int) *Spec

func (*Spec) SetTemplate added in v1.346.0

func (o *Spec) SetTemplate(v *Template) *Spec

type SpotDeployment added in v1.350.0

type SpotDeployment struct {
	ClusterId *string `json:"clusterId,omitempty"`
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (SpotDeployment) MarshalJSON added in v1.350.0

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

func (*SpotDeployment) SetClusterId added in v1.350.0

func (o *SpotDeployment) SetClusterId(v *string) *SpotDeployment

func (*SpotDeployment) SetName added in v1.350.0

func (o *SpotDeployment) SetName(v *string) *SpotDeployment

func (*SpotDeployment) SetNamespace added in v1.350.0

func (o *SpotDeployment) SetNamespace(v *string) *SpotDeployment

type StickinessConfig added in v1.350.0

type StickinessConfig struct {
	DurationSeconds *int  `json:"durationSeconds,omitempty"`
	Enabled         *bool `json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (StickinessConfig) MarshalJSON added in v1.350.0

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

func (*StickinessConfig) SetDurationSeconds added in v1.350.0

func (o *StickinessConfig) SetDurationSeconds(v *int) *StickinessConfig

func (*StickinessConfig) SetEnabled added in v1.350.0

func (o *StickinessConfig) SetEnabled(v *bool) *StickinessConfig

type Strategy added in v1.347.0

type Strategy struct {
	Canary  *Canary  `json:"canary,omitempty"`
	Name    *string  `json:"name,omitempty"`
	Rolling *Rolling `json:"rolling,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Strategy) MarshalJSON added in v1.347.0

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

func (*Strategy) SetCanary added in v1.347.0

func (o *Strategy) SetCanary(v *Canary) *Strategy

func (*Strategy) SetName added in v1.347.0

func (o *Strategy) SetName(v *string) *Strategy

func (*Strategy) SetRolling added in v1.347.0

func (o *Strategy) SetRolling(v *Rolling) *Strategy

type Template added in v1.346.0

type Template struct {
	Spec *TemplateSpec `json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (Template) MarshalJSON added in v1.346.0

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

region Template

func (*Template) SetSpec added in v1.346.0

func (o *Template) SetSpec(v *TemplateSpec) *Template

type TemplateSpec added in v1.346.0

type TemplateSpec struct {
	RestartPolicy *string       `json:"restartPolicy,omitempty"`
	Containers    []*Containers `json:"containers,omitempty"`
	// contains filtered or unexported fields
}

func (TemplateSpec) MarshalJSON added in v1.346.0

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

func (*TemplateSpec) SetContainers added in v1.346.0

func (o *TemplateSpec) SetContainers(v []*Containers) *TemplateSpec

func (*TemplateSpec) SetRestartPolicy added in v1.346.0

func (o *TemplateSpec) SetRestartPolicy(v *string) *TemplateSpec

type TlsRoutes added in v1.350.0

type TlsRoutes struct {
	Port     *int     `json:"port,omitempty"`
	SniHosts []string `json:"sniHosts,omitempty"`
	// contains filtered or unexported fields
}

func (TlsRoutes) MarshalJSON added in v1.350.0

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

func (*TlsRoutes) SetPort added in v1.350.0

func (o *TlsRoutes) SetPort(v *int) *TlsRoutes

func (*TlsRoutes) SetSniHosts added in v1.350.0

func (o *TlsRoutes) SetSniHosts(v []string) *TlsRoutes

type Traffic added in v1.350.0

type Traffic struct {
	Alb           *Alb        `json:"alb,omitempty"`
	Ambassador    *Ambassador `json:"ambassador,omitempty"`
	CanaryService *string     `json:"canaryService,omitempty"`
	Istio         *Istio      `json:"istio,omitempty"`
	Nginx         *Nginx      `json:"nginx,omitempty"`
	PingPong      *PingPong   `json:"pingPong,omitempty"`
	Smi           *Smi        `json:"smi,omitempty"`
	StableService *string     `json:"stableService,omitempty"`
	// contains filtered or unexported fields
}

func (Traffic) MarshalJSON added in v1.350.0

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

func (*Traffic) SetAlb added in v1.350.0

func (o *Traffic) SetAlb(v *Alb) *Traffic

func (*Traffic) SetAmbassador added in v1.350.0

func (o *Traffic) SetAmbassador(v *Ambassador) *Traffic

func (*Traffic) SetCanaryService added in v1.350.0

func (o *Traffic) SetCanaryService(v *string) *Traffic

func (*Traffic) SetIstio added in v1.350.0

func (o *Traffic) SetIstio(v *Istio) *Traffic

func (*Traffic) SetNginx added in v1.350.0

func (o *Traffic) SetNginx(v *Nginx) *Traffic

func (*Traffic) SetPingPong added in v1.350.0

func (o *Traffic) SetPingPong(v *PingPong) *Traffic

func (*Traffic) SetSmi added in v1.350.0

func (o *Traffic) SetSmi(v *Smi) *Traffic

func (*Traffic) SetStableService added in v1.350.0

func (o *Traffic) SetStableService(v *string) *Traffic

type UpdateRolloutSpecInput added in v1.350.0

type UpdateRolloutSpecInput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type UpdateRolloutSpecOutput added in v1.350.0

type UpdateRolloutSpecOutput struct {
	RolloutSpec *RolloutSpec `json:"rolloutSpec,omitempty"`
}

type UpdateStrategyInput added in v1.347.0

type UpdateStrategyInput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type UpdateStrategyOutput added in v1.347.0

type UpdateStrategyOutput struct {
	Strategy *Strategy `json:"strategy,omitempty"`
}

type UpdateVerificationProviderInput

type UpdateVerificationProviderInput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type UpdateVerificationProviderOutput

type UpdateVerificationProviderOutput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,omitempty"`
}

type UpdateVerificationTemplateInput added in v1.346.0

type UpdateVerificationTemplateInput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type UpdateVerificationTemplateOutput added in v1.346.0

type UpdateVerificationTemplateOutput struct {
	VerificationTemplate *VerificationTemplate `json:"verificationTemplate,omitempty"`
}

type ValueFrom added in v1.346.0

type ValueFrom struct {
	SecretKeyRef *SecretKeyRef `json:"secretKeyRef,omitempty"`
	// contains filtered or unexported fields
}

func (ValueFrom) MarshalJSON added in v1.346.0

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

func (*ValueFrom) SetSecretKeyRef added in v1.346.0

func (o *ValueFrom) SetSecretKeyRef(v *SecretKeyRef) *ValueFrom

type Verification added in v1.347.0

type Verification struct {
	TemplateNames []string `json:"templateNames,omitempty"`
	// contains filtered or unexported fields
}

func (Verification) MarshalJSON added in v1.347.0

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

func (*Verification) SetTemplateNames added in v1.347.0

func (o *Verification) SetTemplateNames(v []string) *Verification

type VerificationProvider

type VerificationProvider struct {
	CloudWatch *CloudWatch `json:"cloudWatch,omitempty"`
	ClusterIDs []string    `json:"clusterIds,omitempty"`
	DataDog    *DataDog    `json:"datadog,omitempty"`
	Jenkins    *Jenkins    `json:"jenkins,omitempty"`
	Name       *string     `json:"name,omitempty"`
	NewRelic   *NewRelic   `json:"newRelic,omitempty"`
	Prometheus *Prometheus `json:"prometheus,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (VerificationProvider) MarshalJSON

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

func (*VerificationProvider) SetCloudWatch

func (*VerificationProvider) SetClusterIDs

func (o *VerificationProvider) SetClusterIDs(v []string) *VerificationProvider

func (*VerificationProvider) SetDataDog

func (*VerificationProvider) SetJenkins

func (*VerificationProvider) SetName

func (*VerificationProvider) SetNewRelic

func (*VerificationProvider) SetPrometheus

type VerificationTemplate added in v1.346.0

type VerificationTemplate struct {
	Args    []*Args    `json:"args,omitempty"`
	Metrics []*Metrics `json:"metrics,omitempty"`
	Name    *string    `json:"name,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (VerificationTemplate) MarshalJSON added in v1.346.0

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

func (*VerificationTemplate) SetArgs added in v1.346.0

func (*VerificationTemplate) SetMetrics added in v1.346.0

func (o *VerificationTemplate) SetMetrics(v []*Metrics) *VerificationTemplate

func (*VerificationTemplate) SetName added in v1.346.0

type VirtualServices added in v1.350.0

type VirtualServices struct {
	Name      *string      `json:"name,omitempty"`
	Routes    []string     `json:"routes,omitempty"`
	TlsRoutes []*TlsRoutes `json:"tlsRoutes,omitempty"`
	// contains filtered or unexported fields
}

func (VirtualServices) MarshalJSON added in v1.350.0

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

func (*VirtualServices) SetName added in v1.350.0

func (o *VirtualServices) SetName(v *string) *VirtualServices

func (*VirtualServices) SetRoutes added in v1.350.0

func (o *VirtualServices) SetRoutes(v []string) *VirtualServices

func (*VirtualServices) SetTlsRoutes added in v1.350.0

func (o *VirtualServices) SetTlsRoutes(v []*TlsRoutes) *VirtualServices

type Web added in v1.346.0

type Web struct {
	Body           *string    `json:"body,omitempty"`
	Insecure       *bool      `json:"insecure,omitempty"`
	Headers        []*Headers `json:"headers,omitempty"`
	JsonPath       *string    `json:"jsonPath,omitempty"`
	Method         *string    `json:"method,omitempty"`
	TimeoutSeconds *int       `json:"timeoutSeconds,omitempty"`
	Url            *string    `json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (Web) MarshalJSON added in v1.346.0

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

func (*Web) SetBody added in v1.346.0

func (o *Web) SetBody(v *string) *Web

func (*Web) SetHeaders added in v1.346.0

func (o *Web) SetHeaders(v []*Headers) *Web

func (*Web) SetInsecure added in v1.346.0

func (o *Web) SetInsecure(v *bool) *Web

func (*Web) SetJsonPath added in v1.346.0

func (o *Web) SetJsonPath(v *string) *Web

func (*Web) SetMethod added in v1.346.0

func (o *Web) SetMethod(v *string) *Web

func (*Web) SetTimeoutSeconds added in v1.346.0

func (o *Web) SetTimeoutSeconds(v *int) *Web

func (*Web) SetUrl added in v1.346.0

func (o *Web) SetUrl(v *string) *Web

Jump to

Keyboard shortcuts

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