Documentation ¶
Index ¶
- type Contenttype
- type Data
- type Error
- type EventContext
- type EventContexts
- type ExpandedProject
- type ExpandedProjects
- type ExpandedService
- type ExpandedServiceWithStageInfo
- type ExpandedStage
- type Extensions
- type ID
- type InverseServiceStageInfo
- type KeptnContextExtendedCE
- type Project
- type Projects
- type Resource
- type Resources
- type Service
- type Services
- type ServicesWithStageInfo
- type Source
- type Specversion
- type Stage
- type Stages
- type Time
- type Type
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 { // ID of the event EventID string `json:"eventId,omitempty"` // Keptn Context ID of the event KeptnContext string `json:"keptnContext,omitempty"` // Time of the event Time string `json:"time,omitempty"` }
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 EventContexts ¶
type EventContexts struct { // event contexts EventContexts []*EventContext `json:"eventContexts"` // Pointer to next page, base64 encoded NextPageKey string `json:"nextPageKey,omitempty"` // Size of returned page PageSize float64 `json:"pageSize,omitempty"` // Total number of stages TotalCount float64 `json:"totalCount,omitempty"` }
EventContexts event contexts
swagger:model EventContexts
func (*EventContexts) MarshalBinary ¶
func (m *EventContexts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventContexts) UnmarshalBinary ¶
func (m *EventContexts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExpandedProject ¶
type ExpandedProject struct { // Creation date of the project CreationDate string `json:"creationDate,omitempty"` // git auth credentials GitCredentials *apimodels.GitAuthCredentialsSecure `json:"gitCredentials,omitempty"` // last event context LastEventContext *EventContext `json:"lastEventContext,omitempty"` // Project name ProjectName string `json:"projectName,omitempty"` // Shipyard file content Shipyard string `json:"shipyard,omitempty"` // Version of the shipyard file ShipyardVersion string `json:"shipyardVersion,omitempty"` // stages Stages []*ExpandedStage `json:"stages"` }
ExpandedProject expanded project
swagger:model ExpandedProject
func (*ExpandedProject) MarshalBinary ¶
func (m *ExpandedProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExpandedProject) UnmarshalBinary ¶
func (m *ExpandedProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExpandedProjects ¶
type ExpandedProjects struct { // Pointer to next page, base64 encoded NextPageKey string `json:"nextPageKey,omitempty"` // Size of returned page PageSize float64 `json:"pageSize,omitempty"` // projects Projects []*ExpandedProject `json:"projects"` // Total number of projects TotalCount float64 `json:"totalCount,omitempty"` }
ExpandedProjects expanded projects
swagger:model ExpandedProjects
func (*ExpandedProjects) MarshalBinary ¶
func (m *ExpandedProjects) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExpandedProjects) UnmarshalBinary ¶
func (m *ExpandedProjects) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExpandedService ¶
type ExpandedService struct { // Creation date of the service CreationDate string `json:"creationDate,omitempty"` // Currently deployed image DeployedImage string `json:"deployedImage,omitempty"` // last event types LastEventTypes map[string]EventContext `json:"lastEventTypes,omitempty"` // Service name ServiceName string `json:"serviceName,omitempty"` }
ExpandedService expanded service
swagger:model ExpandedService
func (*ExpandedService) MarshalBinary ¶
func (m *ExpandedService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExpandedService) UnmarshalBinary ¶
func (m *ExpandedService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExpandedServiceWithStageInfo ¶
type ExpandedServiceWithStageInfo struct { // Creation date of the service CreationDate string `json:"creationDate,omitempty"` // Service name ServiceName string `json:"serviceName,omitempty"` // stage info StageInfo []*InverseServiceStageInfo `json:"stageInfo"` }
ExpandedServiceWithStageInfo expanded service with stage info
swagger:model ExpandedServiceWithStageInfo
func (*ExpandedServiceWithStageInfo) MarshalBinary ¶
func (m *ExpandedServiceWithStageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExpandedServiceWithStageInfo) UnmarshalBinary ¶
func (m *ExpandedServiceWithStageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExpandedStage ¶
type ExpandedStage struct { // last event context LastEventContext *EventContext `json:"lastEventContext,omitempty"` // services Services []*ExpandedService `json:"services"` // Stage name StageName string `json:"stageName,omitempty"` }
ExpandedStage expanded stage
swagger:model ExpandedStage
func (*ExpandedStage) MarshalBinary ¶
func (m *ExpandedStage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExpandedStage) UnmarshalBinary ¶
func (m *ExpandedStage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InverseServiceStageInfo ¶
type InverseServiceStageInfo struct { // Currently deployed image DeployedImage string `json:"deployedImage,omitempty"` // last event types LastEventTypes map[string]EventContext `json:"lastEventTypes,omitempty"` // stage name StageName string `json:"stageName,omitempty"` }
InverseServiceStageInfo inverse service stage info
swagger:model InverseServiceStageInfo
func (*InverseServiceStageInfo) MarshalBinary ¶
func (m *InverseServiceStageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InverseServiceStageInfo) UnmarshalBinary ¶
func (m *InverseServiceStageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeptnContextExtendedCE ¶
type KeptnContextExtendedCE struct { // contenttype Contenttype string `json:"contenttype,omitempty"` // data // Required: true Data interface{} `json:"data"` // 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"` // triggeredid Triggeredid string `json:"triggeredid,omitempty"` // type // Required: true Type *string `json:"type"` }
KeptnContextExtendedCE keptn context extended c e
swagger:model KeptnContextExtendedCE
func (*KeptnContextExtendedCE) MarshalBinary ¶
func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeptnContextExtendedCE) UnmarshalBinary ¶
func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Project ¶
type Project struct { // git auth credentials GitCredentials *apimodels.GitAuthCredentials `json:"gitCredentials,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 ¶
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 ¶
MarshalBinary interface implementation
func (*Projects) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct { // metadata Metadata *Version `json:"metadata,omitempty"` // Resource content ResourceContent string `json:"resourceContent,omitempty"` // Resource URI in URL-encoded format // 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 ¶
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 ¶
MarshalBinary interface implementation
func (*Resources) UnmarshalBinary ¶
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 ¶
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 []*ExpandedService `json:"services"` // Total number of services TotalCount float64 `json:"totalCount,omitempty"` }
Services services
swagger:model Services
func (*Services) MarshalBinary ¶
MarshalBinary interface implementation
func (*Services) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServicesWithStageInfo ¶
type ServicesWithStageInfo struct { // Pointer to next page, base64 encoded NextPageKey string `json:"nextPageKey,omitempty"` // Size of returned page PageSize float64 `json:"pageSize,omitempty"` // services Services []*ExpandedServiceWithStageInfo `json:"services"` // Total number of stages TotalCount float64 `json:"totalCount,omitempty"` }
ServicesWithStageInfo services with stage info
swagger:model ServicesWithStageInfo
func (*ServicesWithStageInfo) MarshalBinary ¶
func (m *ServicesWithStageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicesWithStageInfo) UnmarshalBinary ¶
func (m *ServicesWithStageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Stage ¶
type Stage struct { // services Services []*Service `json:"services"` // Stage name StageName string `json:"stageName,omitempty"` }
Stage stage
swagger:model Stage
func (*Stage) MarshalBinary ¶
MarshalBinary interface implementation
func (*Stage) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Stages ¶
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 []*ExpandedStage `json:"stages"` // Total number of stages TotalCount float64 `json:"totalCount,omitempty"` }
Stages stages
swagger:model Stages
func (*Stages) MarshalBinary ¶
MarshalBinary interface implementation
func (*Stages) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Time ¶
Time time swagger:model time
func (*Time) MarshalBinary ¶
MarshalBinary interface implementation
func (Time) MarshalJSON ¶
MarshalJSON retrieves a Time value as JSON output
func (*Time) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Time) UnmarshalJSON ¶
UnmarshalJSON sets a Time value from JSON input
type Version ¶
type Version struct { // branch in git repo containing the resource Branch string `json:"branch,omitempty"` // Upstream repository containing the resource UpstreamURL string `json:"upstreamURL,omitempty"` // version/git commit id of the resource Version string `json:"version,omitempty"` }
Version version
swagger:model Version
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- contenttype.go
- data.go
- error.go
- event_context.go
- event_contexts.go
- expanded_project.go
- expanded_projects.go
- expanded_service.go
- expanded_service_with_stage_info.go
- expanded_stage.go
- extensions.go
- id.go
- inverse_service_stage_info.go
- keptn_context_extended_c_e.go
- project.go
- projects.go
- resource.go
- resources.go
- service.go
- services.go
- services_with_stage_info.go
- source.go
- specversion.go
- stage.go
- stages.go
- time.go
- type.go
- version.go