Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProject ¶ added in v0.6.2
type CreateProject struct {
// git remote URL
GitRemoteURL string `json:"gitRemoteURL,omitempty"`
// git token
GitToken string `json:"gitToken,omitempty"`
// git user
GitUser string `json:"gitUser,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// shipyard
// Required: true
Shipyard *string `json:"shipyard"`
}
CreateProject create project swagger:model CreateProject
func (*CreateProject) MarshalBinary ¶ added in v0.6.2
func (m *CreateProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProject) UnmarshalBinary ¶ added in v0.6.2
func (m *CreateProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateService ¶ added in v0.6.2
type CreateService struct {
// deployment strategies
DeploymentStrategies map[string]string `json:"deploymentStrategies,omitempty"`
// helm chart
HelmChart string `json:"helmChart,omitempty"`
// service name
// Required: true
ServiceName *string `json:"serviceName"`
}
CreateService create service swagger:model CreateService
func (*CreateService) MarshalBinary ¶ added in v0.6.2
func (m *CreateService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateService) UnmarshalBinary ¶ added in v0.6.2
func (m *CreateService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// Error code
Code int64 `json:"code,omitempty"`
// Error message
// Required: true
Message *string `json:"message"`
}
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EventContext ¶
type EventContext struct {
// keptn context
// Required: true
KeptnContext *string `json:"keptnContext"`
// token
// Required: true
Token *string `json:"token"`
}
EventContext event context swagger:model EventContext
func (*EventContext) MarshalBinary ¶
func (m *EventContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventContext) UnmarshalBinary ¶
func (m *EventContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Events ¶ added in v0.6.2
type Events struct {
// events
Events []*KeptnContextExtendedCE `json:"events"`
// Pointer to next page, base64 encoded
NextPageKey string `json:"nextPageKey,omitempty"`
// Size of returned page
PageSize float64 `json:"pageSize,omitempty"`
// Total number of resources
TotalCount float64 `json:"totalCount,omitempty"`
}
Events events swagger:model Events
func (*Events) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Events) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type KeptnContextExtendedCE ¶ added in v0.2.4
type KeptnContextExtendedCE struct {
// contenttype
Contenttype string `json:"contenttype,omitempty"`
// data
// Required: true
Data interface{} `json:"data"`
// extensions
Extensions interface{} `json:"extensions,omitempty"`
// id
ID string `json:"id,omitempty"`
// shkeptncontext
Shkeptncontext string `json:"shkeptncontext,omitempty"`
// source
// Required: true
Source *string `json:"source"`
// specversion
Specversion string `json:"specversion,omitempty"`
// time
// Format: date-time
Time strfmt.DateTime `json:"time,omitempty"`
// type
// Required: true
Type *string `json:"type"`
}
KeptnContextExtendedCE keptn context extended c e swagger:model KeptnContextExtendedCE
func (*KeptnContextExtendedCE) MarshalBinary ¶ added in v0.2.4
func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeptnContextExtendedCE) UnmarshalBinary ¶ added in v0.2.4
func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Project ¶
type Project struct {
// Git remote URI
GitRemoteURI string `json:"gitRemoteURI,omitempty"`
// Git token
GitToken string `json:"gitToken,omitempty"`
// Git User
GitUser string `json:"gitUser,omitempty"`
// Project name
ProjectName string `json:"projectName,omitempty"`
// stages
Stages []*Stage `json:"stages"`
}
Project project swagger:model Project
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Projects ¶ added in v0.6.2
type Projects struct {
// Pointer to next page, base64 encoded
NextPageKey string `json:"nextPageKey,omitempty"`
// Size of returned page
PageSize float64 `json:"pageSize,omitempty"`
// projects
Projects []*Project `json:"projects"`
// Total number of projects
TotalCount float64 `json:"totalCount,omitempty"`
}
Projects projects swagger:model Projects
func (*Projects) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Projects) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct {
// Resource content
ResourceContent string `json:"resourceContent,omitempty"`
// Resource URI
// Required: true
ResourceURI *string `json:"resourceURI"`
}
Resource resource swagger:model Resource
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resources ¶ added in v0.6.2
type Resources struct {
// Pointer to next page, base64 encoded
NextPageKey string `json:"nextPageKey,omitempty"`
// Size of returned page
PageSize float64 `json:"pageSize,omitempty"`
// resources
Resources []*Resource `json:"resources"`
// Total number of resources
TotalCount float64 `json:"totalCount,omitempty"`
}
Resources resources swagger:model Resources
func (*Resources) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Resources) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Service ¶
type Service struct {
// Service name
ServiceName string `json:"serviceName,omitempty"`
}
Service service swagger:model Service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Services ¶ added in v0.6.2
type Services struct {
// Pointer to next page, base64 encoded
NextPageKey string `json:"nextPageKey,omitempty"`
// Size of returned page
PageSize float64 `json:"pageSize,omitempty"`
// services
Services []*Service `json:"services"`
// Total number of services
TotalCount float64 `json:"totalCount,omitempty"`
}
Services services swagger:model Services
func (*Services) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Services) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Stage ¶ added in v0.6.2
type Stage struct {
// services
Services []*Service `json:"services"`
// Stage name
StageName string `json:"stageName,omitempty"`
}
Stage stage swagger:model Stage
func (*Stage) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Stage) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Stages ¶ added in v0.6.2
type Stages struct {
// Pointer to next page, base64 encoded
NextPageKey string `json:"nextPageKey,omitempty"`
// Size of returned page
PageSize float64 `json:"pageSize,omitempty"`
// stages
Stages []*Stage `json:"stages"`
// Total number of stages
TotalCount float64 `json:"totalCount,omitempty"`
}
Stages stages swagger:model Stages
func (*Stages) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Stages) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Version ¶ added in v0.6.2
type Version struct {
// Version identifier
Version string `json:"version,omitempty"`
}
Version version swagger:model Version
func (*Version) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation