Documentation ¶
Index ¶
- func CreateAccessRequest(ocmConnection *ocmsdk.Connection, ...) (*acctrspv1.AccessRequest, error)
- func ExpireAccessRequest(ocmConnection *ocmsdk.Connection, accessRequest *acctrspv1.AccessRequest) error
- func GetAccessRequest(ocmConnection *ocmsdk.Connection, clusterID string) (*acctrspv1.AccessRequest, error)
- func GetClusterID(cmd *cobra.Command) (string, error)
- func PrintAccessRequest(clusterID string, accessRequest *acctrspv1.AccessRequest)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccessRequest ¶
func CreateAccessRequest(ocmConnection *ocmsdk.Connection, clusterID, justification, notificationIssueID string, approvalDuration time.Duration) (*acctrspv1.AccessRequest, error)
func ExpireAccessRequest ¶
func ExpireAccessRequest(ocmConnection *ocmsdk.Connection, accessRequest *acctrspv1.AccessRequest) error
func GetAccessRequest ¶
func GetAccessRequest(ocmConnection *ocmsdk.Connection, clusterID string) (*acctrspv1.AccessRequest, error)
func PrintAccessRequest ¶
func PrintAccessRequest(clusterID string, accessRequest *acctrspv1.AccessRequest)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.