oceancd

package
v1.344.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 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 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 CreateVerificationProviderInput

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

type CreateVerificationProviderOutput

type CreateVerificationProviderOutput struct {
	VerificationProvider *VerificationProvider `json:"verificationProvider,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 DeleteVerificationProviderInput

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

type DeleteVerificationProviderOutput

type DeleteVerificationProviderOutput struct{}

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 ListVerificationProvidersOutput

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

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 PatchVerificationProviderInput

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

type PatchVerificationProviderOutput

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

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 ReadVerificationProviderInput

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

type ReadVerificationProviderOutput

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

type Service

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) CreateVerificationProvider

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

func (*ServiceOp) DeleteVerificationProvider

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

func (*ServiceOp) ListVerificationProviders

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

func (*ServiceOp) PatchVerificationProvider

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

func (*ServiceOp) ReadVerificationProvider

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

func (*ServiceOp) UpdateVerificationProvider

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

type UpdateVerificationProviderInput

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

type UpdateVerificationProviderOutput

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

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

Jump to

Keyboard shortcuts

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