Documentation
¶
Index ¶
- Constants
- type Manager
- func (m Manager) BuildActivateRequestInteractively(clusterCtx clustercontext.Context) (pipeline.ActivateIntegratedServiceRequest, error)
- func (m Manager) BuildUpdateRequestInteractively(clusterCtx clustercontext.Context, ...) error
- func (Manager) ReadableName() string
- func (Manager) ServiceName() string
- func (Manager) ValidateSpec(spec map[string]interface{}) error
- func (Manager) WriteDetailsTable(details pipeline.IntegratedServiceDetails) map[string]map[string]interface{}
- type ServiceSpec
Constants ¶
View Source
const ( PasswordSecretType = "password" AmazonSecretType = "amazon" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (Manager) BuildActivateRequestInteractively ¶
func (m Manager) BuildActivateRequestInteractively(clusterCtx clustercontext.Context) (pipeline.ActivateIntegratedServiceRequest, error)
func (Manager) BuildUpdateRequestInteractively ¶
func (m Manager) BuildUpdateRequestInteractively(clusterCtx clustercontext.Context, request *pipeline.UpdateIntegratedServiceRequest) error
func (Manager) ReadableName ¶
func (Manager) ServiceName ¶
func (Manager) ValidateSpec ¶
func (Manager) WriteDetailsTable ¶
func (Manager) WriteDetailsTable(details pipeline.IntegratedServiceDetails) map[string]map[string]interface{}
type ServiceSpec ¶
type ServiceSpec struct { CustomAnchore anchoreSpec `json:"customAnchore" mapstructure:"customAnchore"` Policy policySpec `json:"policy" mapstructure:"policy"` ReleaseWhiteList []releaseSpec `json:"releaseWhiteList,omitempty" mapstructure:"releaseWhiteList"` WebhookConfig webHookConfigSpec `json:"webhookConfig" mapstructure:"webhookConfig"` Registry *registrySpec `json:"registry,omitempty" mapstructure:"registry"` Registries []*registrySpec `json:"registries,omitempty" mapstructure:"registries"` }
ServiceSpec security scan cluster integratedservice specific specification
func (ServiceSpec) Validate ¶
func (s ServiceSpec) Validate() error
Validate validates the input security scan specification.
Click to show internal directories.
Click to hide internal directories.