Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMaps ¶
type ConfigMaps struct { Name string `json:"name"` Namespace string `json:"namespace"` Data map[string]string `json:"data"` Interface v1.ConfigMapInterface }
func NewConfigMaps ¶
func NewConfigMaps(name, namespace string, data map[string]string) *ConfigMaps
func (*ConfigMaps) Delete ¶
func (c *ConfigMaps) Delete() error
type Deployment ¶
type Deployment struct { App string Project string Profile string ImageTag string DockerRegistry string }
func (*Deployment) Deploy ¶
func (d *Deployment) Deploy() (string, error)
@Title Deploy @Description deploy application @Param pipeline @Return error
type ReplicationController ¶
type ReplicationController struct { Name string Namespace string Interface v1.ReplicationControllerInterface }
func NewReplicationController ¶
func NewReplicationController(name string, namespace string) *ReplicationController
func (*ReplicationController) Create ¶
func (rc *ReplicationController) Create(replicas int32) (*corev1.ReplicationController, error)
func (*ReplicationController) Watch ¶
func (rc *ReplicationController) Watch(completedHandler func() error) error
type Secret ¶
type Secret struct { Name string Username string Password string Namespace string Interface v1.SecretInterface // contains filtered or unexported fields }
func (*Secret) Create ¶
Create takes the representation of a secret and creates it. Returns the server's representation of the secret, and an error, if there is any.
type Service ¶
type Service struct { Name string Namespace string Interface svcv1.ServiceInterface }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.