Documentation ¶
Index ¶
- type RegCtl
- type SigningController
- func (c *SigningController) CreateOwnerRole() error
- func (c *SigningController) CreateOwnerRoleBinding() error
- func (c *SigningController) CreateRootKey(owner *apiv1.ImageSigner, scheme *runtime.Scheme) (*apiv1.TrustKey, error)
- func (c *SigningController) CreateSignerKeyRole() error
- func (c *SigningController) CreateSignerKeyRoleBinding() error
- func (c *SigningController) IsExistOwnerRole() bool
- func (c *SigningController) IsExistOwnerRoleBinding() bool
- func (c *SigningController) IsExistSignerKeyRole() bool
- func (c *SigningController) IsExistSignerKeyRoleBinding() bool
- func (c *SigningController) SignImage(signerKey *apiv1.SignerKey, img *image.Image, notaryURL string, ca []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegCtl ¶
type RegCtl struct {
// contains filtered or unexported fields
}
func NewRegCtl ¶
NewRegCtl is a controller for registry if registryName or registryNamespace is empty string, RegCtl is nil
func (*RegCtl) GetEndpoint ¶
func (*RegCtl) GetHostname ¶
func (*RegCtl) GetNotaryEndpoint ¶
type SigningController ¶
type SigningController struct { ImageSigner *apiv1.ImageSigner Regctl *RegCtl Scheme *runtime.Scheme // contains filtered or unexported fields }
func NewSigningController ¶
func NewSigningController(c client.Client, scheme *runtime.Scheme, signer *apiv1.ImageSigner, registryName, registryNamespace string) *SigningController
NewSigningController is a controller for image signing. if registryName or registryNamespace is empty string, RegCtl is nil if requestNamespace is empty string, get operator's namepsace
func (*SigningController) CreateOwnerRole ¶
func (c *SigningController) CreateOwnerRole() error
func (*SigningController) CreateOwnerRoleBinding ¶
func (c *SigningController) CreateOwnerRoleBinding() error
func (*SigningController) CreateRootKey ¶
func (c *SigningController) CreateRootKey(owner *apiv1.ImageSigner, scheme *runtime.Scheme) (*apiv1.TrustKey, error)
func (*SigningController) CreateSignerKeyRole ¶
func (c *SigningController) CreateSignerKeyRole() error
func (*SigningController) CreateSignerKeyRoleBinding ¶
func (c *SigningController) CreateSignerKeyRoleBinding() error
func (*SigningController) IsExistOwnerRole ¶
func (c *SigningController) IsExistOwnerRole() bool
func (*SigningController) IsExistOwnerRoleBinding ¶
func (c *SigningController) IsExistOwnerRoleBinding() bool
func (*SigningController) IsExistSignerKeyRole ¶
func (c *SigningController) IsExistSignerKeyRole() bool
func (*SigningController) IsExistSignerKeyRoleBinding ¶
func (c *SigningController) IsExistSignerKeyRoleBinding() bool
Click to show internal directories.
Click to hide internal directories.