Documentation ¶
Index ¶
- type CloudWatch
- type CreateVerificationProviderInput
- type CreateVerificationProviderOutput
- type DataDog
- type DeleteVerificationProviderInput
- type DeleteVerificationProviderOutput
- type Jenkins
- type ListVerificationProvidersOutput
- type NewRelic
- func (o NewRelic) MarshalJSON() ([]byte, error)
- func (o *NewRelic) SetAccountId(v *string) *NewRelic
- func (o *NewRelic) SetBaseUrlNerdGraph(v *string) *NewRelic
- func (o *NewRelic) SetBaseUrlRest(v *string) *NewRelic
- func (o *NewRelic) SetPersonalApiKey(v *string) *NewRelic
- func (o *NewRelic) SetRegion(v *string) *NewRelic
- type PatchVerificationProviderInput
- type PatchVerificationProviderOutput
- type Prometheus
- type ReadVerificationProviderInput
- type ReadVerificationProviderOutput
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateVerificationProvider(ctx context.Context, input *CreateVerificationProviderInput) (*CreateVerificationProviderOutput, error)
- func (s *ServiceOp) DeleteVerificationProvider(ctx context.Context, input *DeleteVerificationProviderInput) (*DeleteVerificationProviderOutput, error)
- func (s *ServiceOp) ListVerificationProviders(ctx context.Context) (*ListVerificationProvidersOutput, error)
- func (s *ServiceOp) PatchVerificationProvider(ctx context.Context, input *PatchVerificationProviderInput) (*PatchVerificationProviderOutput, error)
- func (s *ServiceOp) ReadVerificationProvider(ctx context.Context, input *ReadVerificationProviderInput) (*ReadVerificationProviderOutput, error)
- func (s *ServiceOp) UpdateVerificationProvider(ctx context.Context, input *UpdateVerificationProviderInput) (*UpdateVerificationProviderOutput, error)
- type UpdateVerificationProviderInput
- type UpdateVerificationProviderOutput
- type VerificationProvider
- func (o VerificationProvider) MarshalJSON() ([]byte, error)
- func (o *VerificationProvider) SetCloudWatch(v *CloudWatch) *VerificationProvider
- func (o *VerificationProvider) SetClusterIDs(v []string) *VerificationProvider
- func (o *VerificationProvider) SetDataDog(v *DataDog) *VerificationProvider
- func (o *VerificationProvider) SetJenkins(v *Jenkins) *VerificationProvider
- func (o *VerificationProvider) SetName(v *string) *VerificationProvider
- func (o *VerificationProvider) SetNewRelic(v *NewRelic) *VerificationProvider
- func (o *VerificationProvider) SetPrometheus(v *Prometheus) *VerificationProvider
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 (*DataDog) SetAddress ¶
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 (*Jenkins) SetApiToken ¶
func (*Jenkins) SetBaseUrl ¶
func (*Jenkins) SetUserName ¶
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 (*NewRelic) SetAccountId ¶
func (*NewRelic) SetBaseUrlNerdGraph ¶
func (*NewRelic) SetBaseUrlRest ¶
func (*NewRelic) SetPersonalApiKey ¶
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 ¶
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) }
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 ¶
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 (o *VerificationProvider) SetCloudWatch(v *CloudWatch) *VerificationProvider
func (*VerificationProvider) SetClusterIDs ¶
func (o *VerificationProvider) SetClusterIDs(v []string) *VerificationProvider
func (*VerificationProvider) SetDataDog ¶
func (o *VerificationProvider) SetDataDog(v *DataDog) *VerificationProvider
func (*VerificationProvider) SetJenkins ¶
func (o *VerificationProvider) SetJenkins(v *Jenkins) *VerificationProvider
func (*VerificationProvider) SetName ¶
func (o *VerificationProvider) SetName(v *string) *VerificationProvider
func (*VerificationProvider) SetNewRelic ¶
func (o *VerificationProvider) SetNewRelic(v *NewRelic) *VerificationProvider
func (*VerificationProvider) SetPrometheus ¶
func (o *VerificationProvider) SetPrometheus(v *Prometheus) *VerificationProvider
Click to show internal directories.
Click to hide internal directories.