Documentation ¶
Index ¶
- Constants
- func NewFakeClient() *fakeClient
- type AddImage
- type AddImageInput
- type AddImagePayload
- type BranchRef
- type Client
- type Image
- type ImageFilter
- type ImageInput
- type ImagePatch
- type ImagePayload
- type ImageRef
- type ImageStreamLink
- type MirrorMapping
- type Operator
- func (o *Operator) AddBranchRef(org, repo, branch string) error
- func (o *Operator) AddManifestImages() error
- func (o *Operator) Branches() map[string]string
- func (o *Operator) Load() error
- func (o *Operator) OperateOnCIOperatorConfigs() error
- func (o *Operator) UpdateImage(image api.ProjectDirectoryImageBuildStepConfiguration, ...) error
- func (o *Operator) UpdateMirrorMappings() error
- type UpdateImageInput
Constants ¶
View Source
const ( ReleaseAPPCIClusterPath = "clusters/app.ci/" ReleaseMirrorMappingsPath = "core-services/image-mirroring/" ReleaseCIOperatorConfigsPath = "ci-operator/config/" )
Variables ¶
This section is empty.
Functions ¶
func NewFakeClient ¶
func NewFakeClient() *fakeClient
Types ¶
type AddImage ¶
type AddImage struct { NumUIDs int `graphql:"numUids"` Image []ImagePayload `graphql:"image"` }
type AddImageInput ¶
type AddImageInput map[string]interface{}
type AddImagePayload ¶
type AddImagePayload struct {
AddImage AddImage `graphql:"addImage(input: $input)"`
}
type Image ¶
type Image struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` ImageStreamRef string `json:"imageStreamRef,omitempty"` Namespace string `json:"namespace,omitempty"` FromRoot bool `json:"fromRoot,omitempty"` Source string `json:"source,omitempty"` Branches map[string]interface{} `json:"branches,omitempty"` Parent *Image `json:"parent,omitempty"` Children []Image `json:"children,omitempty"` }
type ImageFilter ¶
type ImageFilter map[string]interface{}
type ImageInput ¶
type ImageInput struct {
Input []Image `json:"input,omitempty"`
}
type ImagePatch ¶
type ImagePatch map[string]interface{}
type ImagePayload ¶
type ImagePayload struct {
ID string `graphql:"id"`
}
type ImageRef ¶
type ImageRef struct { ID string `graphql:"id"` Name string `graphql:"name"` ImageStreamRef string `graphql:"imageStreamRef"` Namespace string `graphql:"namespace"` FromRoot bool `graphql:"fromRoot"` Source string `graphql:"source"` Branches []BranchRef `graphql:"branches"` Parents []ImageRef `graphql:"parents"` Children []ImageRef `graphql:"children"` MultiArch bool `graphql:"multiArch"` }
type ImageStreamLink ¶
type MirrorMapping ¶
type MirrorMapping struct { Source ImageStreamLink Destination ImageStreamLink }
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func NewOperator ¶
func (*Operator) AddBranchRef ¶
func (*Operator) AddManifestImages ¶
func (*Operator) OperateOnCIOperatorConfigs ¶
func (*Operator) UpdateImage ¶
func (o *Operator) UpdateImage(image api.ProjectDirectoryImageBuildStepConfiguration, baseImages map[string]api.ImageStreamTagReference, c api.PromotionTarget, branchID string, multiArch bool) error
func (*Operator) UpdateMirrorMappings ¶
type UpdateImageInput ¶
type UpdateImageInput map[string]interface{}
Click to show internal directories.
Click to hide internal directories.